Learn Coding by playing games
1. Kubernetes
https://t.co/J9Gw8LZCr3
2. DevOps
https://t.co/iCm2MjWGmi
3. Linux
https://t.co/5MhBrZaeZB
4. Git
https://t.co/mg2kT2Lf3w
5. Python
https://t.co/IEjLqIa1gw
6. CSS & HTML
https://t.co/k0tijCO8Gx
7. Cybersecurity
https://t.co/q3K1n3ZOHM
8. Mobile Coding (like Duolingo)
https://t.co/sG7pNK7AKs
9. For Complete Beginners
https://t.co/shrCJNxsgy
10. 25+ Programming Languages
https://t.co/6W44i1ezXB
๐ Follow @rakib_hossen_ai for more AI, tech & privacy discoveries. Save this post.
๐ Day 4 of #CKA prep!
Today:
โข Namespaces & management
โข Multi-container Pods
โข Sidecar vs Init Containers
โข Commands & args
โข DaemonSets vs Deployments
โข Jobs vs CronJobs
Following @techie_piyush โs CKA course. โธ๏ธ
Day 4 โ
๐ Day 2 of #CKA prep!
Today I revised:
โข Multi-node cluster & setup
โข kubectl basics & contexts
โข Pods & creation methods
โข Imperative vs Declarative
โข YAML & Pod manifests
โข Pod debugging & troubleshooting
Following @techie_piyush โs CKA course.
Day 2 โ โธ๏ธ
๐ Day 1 of #CKA prep!
Revisiting the fundamentals I already know, this time in greater detail.
Today:
- Docker & multi-stage builds
- Containerizing projects
- K8s fundamentals
- K8s architecture & use cases
Following @techie_piyush 's CKA course.
Day 1 โ โธ๏ธ
How OAuth 2.0 works
(clearly explained in under 2 mins):
OAuth can be thought of as a digital handshake between the app, service, and user, with everyone agreeing on what is shared.
It's an authorization framework that enables applications to access a userโs data on another service (like Facebook or GitHub) ๐๐ถ๐๐ต๐ผ๐๐ ๐๐ต๐ฎ๐ฟ๐ถ๐ป๐ด ๐๐ต๐ฒ ๐๐๐ฒ๐ฟโ๐ ๐ฝ๐ฎ๐๐๐๐ผ๐ฟ๐ฑ.
How it works:
๐ง๐ต๐ฒ ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐ ๐ด๐ฒ๐ป๐ฒ๐ฟ๐ฎ๐น๐น๐ ๐ณ๐ผ๐น๐น๐ผ๐๐ ๐ฒ ๐๐๐ฒ๐ฝ๐ ๐๐ถ๐๐ต ๐ฐ ๐ฐ๐ผ๐บ๐ฝ๐ผ๐ป๐ฒ๐ป๐๐ ๐๐๐ฝ๐ถ๐ฐ๐ฎ๐น๐น๐ ๐ถ๐ป๐๐ผ๐น๐๐ฒ๐ฑ:
โข Client (app wanting access)
โข Resource owner (user)
โข Authorization server
โข Resource server
๐ง๐ผ ๐๐ป๐ฑ๐ฒ๐ฟ๐๐๐ฎ๐ป๐ฑ ๐๐ต๐ฒ ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐, ๐น๐ฒ๐โ๐ ๐๐ฎ๐ธ๐ฒ ๐ฎ ๐น๐ผ๐ผ๐ธ ๐ฎ๐ ๐ต๐ผ๐ ๐ฎ ๐ด๐ฎ๐บ๐ฒ ๐๐ผ๐๐น๐ฑ ๐ฐ๐ผ๐ป๐ป๐ฒ๐ฐ๐ ๐๐ผ ๐ฎ ๐ฝ๐น๐ฎ๐๐ฒ๐ฟโ๐ ๐๐ฎ๐ฐ๐ฒ๐ฏ๐ผ๐ผ๐ธ ๐ฎ๐ฐ๐ฐ๐ผ๐๐ป๐.
๐ญ) ๐ฅ๐ฒ๐พ๐๐ฒ๐๐ ๐ฎ๐ฐ๐ฐ๐ฒ๐๐
Within the game (client), the player (user) clicks on a โconnect with Facebookโ button to link their profile and find friends.
๐ฎ) ๐ฅ๐ฒ๐ฑ๐ถ๐ฟ๐ฒ๐ฐ๐ ๐๐ผ ๐๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ
The game redirects the player to Facebookโs (serviceโs) login page.
๐ฏ) ๐ฃ๐ฒ๐ฟ๐บ๐ถ๐๐๐ถ๐ผ๐ป ๐ฟ๐ฒ๐พ๐๐ฒ๐๐
After logging in, the data that the game is requesting access to will be shown to the player which they can either allow or deny.
๐ฐ) ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐ฐ๐ผ๐ฑ๐ฒ
If the player gives their approval, Facebook redirects the player back to the game with an authorization code (from authorization server). The code is a temporary credential that proves the playerโs consent.
๐ฑ) ๐๐ ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ ๐ฐ๐ผ๐ฑ๐ฒ ๐ณ๐ผ๐ฟ ๐๐ผ๐ธ๐ฒ๐ป
The game now sends the authorization code along with its own identification to Facebookโs server in the background. Facebook identifies the authorization code and the gameโs identity and returns an access token.
๐ฒ) ๐จ๐๐ฒ ๐๐ต๐ฒ ๐๐ผ๐ธ๐ฒ๐ป
The game can now use the access token to request the agreed-upon data from Facebook (from the resource server), like the player's friends list.
In this process, the playerโs Facebook credentials were never shared, but the game was able to access the agreed-upon player data from Facebook. This is what OAuth 2.0 facilitates; allowing third-party applications to access data from services in a secure manner without sharing credentials.
What else would you add?
โป๏ธ Repost to help others learn system design.
โ Follow me ( Nikki Siapno ) + turn on notifications.
300 people now follow my hands-on Docker Roadmap ๐
- Learn Docker by doing (no tutorial hell)
- Work on realistic scenarios
- Get daily portions of practical problems
- Reinforce hands-on approach with visuals
- Dive deeper when you feel like it
https://t.co/g4HCN5EpBg
Docker Networking Types Explained ๐งต
Understanding Docker networking is important for DevOps interviews because it determines how containers communicate with each other and the outside world.
1๏ธโฃ Bridge Network (Default)
What it is:
When you start a container without specifying a network, Docker attaches it to the bridge network.
How it works:
โข Docker creates a virtual bridge called docker0
โข Each container gets a private IP
โข Containers on the same bridge can communicate with each other
โข External traffic reaches containers through port mapping
Example:
docker run -d -p 80:80 nginx
Use when:
โข Running standalone applications
โข Local development
โข Single-host deployments
----------------------------------------------
2๏ธโฃ Host Network
What it is:
The container shares the host machine's network stack.
How it works:
โข No separate container IP
โข No NAT
โข No port mapping required
โข Container uses host ports directly
Example:
docker run --network host nginx
Use when:
โข Maximum network performance is required
โข Monitoring agents
โข Logging agents
Interview Tip:
Host networking is faster because packets don't go through Docker's virtual networking layer.
--------------------------------------
3๏ธโฃ None Network
What it is:
Container gets no network connectivity.
How it works:
โข No IP address assigned
โข No internet access
โข No communication with other containers
Example:
docker run --network none nginx
Use when:
โข High-security workloads
โข Batch processing jobs
โข Isolated testing
-----------------------------------------
4๏ธโฃ Overlay Network
What it is:
Allows containers running on different Docker hosts to communicate.
How it works:
โข Creates a virtual network across multiple hosts
โข Uses VXLAN tunneling
โข Commonly used with Docker Swarm
Example:
docker network create -d overlay my-network
Use when:
โข Multi-host container communication
โข Docker Swarm clusters
โข Distributed applications
-------------------------------------------
5๏ธโฃ Macvlan Network
What it is:
Assigns a real IP address from the physical network to the container.
How it works:
โข Container appears as a separate device on the network
โข Bypasses Docker bridge networking
โข Direct communication with physical devices
Use when:
โข Legacy applications
โข Network appliances
โข Applications requiring direct Layer 2 access
Summary:
โ Bridge โ Default, most common
โ Host โ Best performance
โ None โ Complete isolation
โ Overlay โ Multi-host communication
โ Macvlan โ Real IP for containers