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:29] – [Summary / Outlook] rolf001projects:crunchy:picocluster:start [2022/12/02 00:48] (current) rolf001
Line 201: Line 201:
  
 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
 +
 +==== Some kubectl Tests ====
 +
 +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! ===== ===== Result: RUNNING! =====
Line 211: Line 236:
   * 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.   * 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** +**Improvements**\\ 
- +What I would improve in the next development cycle:  
-What I would improve in the next development cycle: +  * Separate the client node from the  K3s master node:
- +
-  * Separate the client node serving as Ansible master and providing kubectl from the master node of the K3s installation. +
-  * Use:+
     * 1x "client" node: OS with GUI, Ansible master, kubectl       * 1x "client" node: OS with GUI, Ansible master, kubectl  
     * 1x K3s master node: minimal OS, no GUI     * 1x K3s master node: minimal OS, no GUI
projects/crunchy/picocluster/start.1669825762.txt.gz · Last modified: 2022/11/30 17:29 by rolf001