User Tools

Site Tools


learning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learning [2025/09/18 12:00] – [commands] glonglearning [2025/09/18 13:08] (current) – [Registration Required] admin
Line 5: Line 5:
 [[https://www.youtube.com/watch?v=MTHGoGUFpvE&t=1840s|Alta3  Kubernetes Zero to Hero: The Complete Beginner’s Guide (2025 Edition) ]] \\ [[https://www.youtube.com/watch?v=MTHGoGUFpvE&t=1840s|Alta3  Kubernetes Zero to Hero: The Complete Beginner’s Guide (2025 Edition) ]] \\
 [[https://devopscube.com/kubernetes-architecture-explained/|kubernetes architecture explained - devopscube]] [[https://devopscube.com/kubernetes-architecture-explained/|kubernetes architecture explained - devopscube]]
 +
 +
 ===== Pay Content ===== ===== Pay Content =====
  
Line 11: Line 13:
  
 ===== commands ===== ===== commands =====
- 
 **kubeadm init defaults**  \\ **kubeadm init defaults**  \\
-kubeadm config print init-defaults+  kubeadm config print init-defaults 
 +Create an nginx deployment \\ 
 +  kubectl create deployment nginx --image nginx   
 + 
 +  kubectl get nodes -o json | jq '.items[].spec.podCIDRs'  
 + 
 +  kubectl run alpine --image=alpine -it  
  
-%%kubectl create deployment nginx --image nginx%%  \\+Testing and Diagnostic container \\ 
 +<code> 
 +kubectl run alpine --image=alpine -it  
 +apk update   
 +apk add bind-tools curl 
 +</code>  
 +Session ended, resume using '**kubectl attach alpine -c alpine -i -t**' command when the pod is running \\
  
-%%kubectl get nodes -o json | jq '.items[].spec.podCIDRs'%%  \\ 
-%%kubectl run alpine --image=alpine -it%% \\ 
-   \\ 
-  \\ 
-test containers \\ 
-%%kubectl run alpine --image=alpine -it%% \\ 
-apk update  \\ 
-apk add bind-tools curl  \\ 
-\\ 
-Session ended, resume using 'kubectl attach alpine -c alpine -i -t' command when the pod is running \\ 
-\\ 
  
  
learning.1758196808.txt.gz · Last modified: by glong

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki