User Tools

Site Tools


projects:crunchy:picocluster:start

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
projects:crunchy:picocluster:start [2022/11/30 17:19] – [Install kubectl on the Raspberry Pi Client] rolf001projects:crunchy:picocluster:start [2022/12/02 00:48] (current) rolf001
Line 202: Line 202:
 I decided to use **Snap Store** as described on the //snapcraft.io// webpage **Install kubectl on Raspberry Pi using the Snap Store:** \\ https://snapcraft.io/install/kubectl/raspbian I decided to use **Snap Store** as described on the //snapcraft.io// webpage **Install kubectl on Raspberry Pi using the Snap Store:** \\ https://snapcraft.io/install/kubectl/raspbian
  
-===== Result: :!: RUNNING! =====+==== Some kubectl Tests ====
  
-I can deploy first examples. Now I would need to learn more about **kubectl**:+https://www.tecmint.com/deploy-nginx-on-a-kubernetes-cluster/ 
 + 
 + 
 +<code> 
 +sudo kubectl get nodes 
 + 
 +sudo kubectl get pods --all-namespaces 
 + 
 +sudo kubectl get pods -A 
 + 
 +sudo kubectl run nginx-sample --image=nginx --port=80 
 + 
 +sudo kubectl get pods -A 
 + 
 +#sudo kubectl expose deployment/nginx-sample --type="NodePort" --port 80 
 + 
 +#sudo kubectl expose nginx-sample --type="NodePort" --port 80 
 + 
 +kubectl delete pod nginx-sample  --now         
 + 
 +sudo kubectl get pods -A 
 +</code> 
 + 
 +===== Result: RUNNING! ===== 
 + 
 +I can deploy first examples. Now I would need to learn more about **kubectl.** 
 + 
 + 
 +===== Summary / Outlook ===== 
 + 
 +  * The most important info for me was the **K3s Ansible** project described above together with the **matching video by Jeff Geerling.** \\ Both resources are referred to as "Info Source 1" above. 
 + 
 +**Improvements**\\ 
 +What I would improve in the next development cycle:  
 +  * Separate the client node from the  K3s master node: 
 +    * 1x "client" node: OS with GUI, Ansible master, kubectl   
 +    * 1x K3s master node: minimal OS, no GUI 
 +    * 3x K3s worker nodesminimal OS, no GUI
  
  
projects/crunchy/picocluster/start.1669825194.txt.gz · Last modified: 2022/11/30 17:19 by rolf001