"Abschlussnoten sind wertlos bei der Personalauswahl. Wir haben festgestellt, dass sie rein gar nichts vorhersagen." (L. Bock - google Personalmanagement)

Inspiration:
https://suda.pl/5-minute-home-server-with/
 
 
Rancher ist eine Konfigurationsplattform für Kubernetes-Cluster
 
alfred@pc1:~$ microk8s.kubectl create namespace cattle-system
namespace/cattle-system created
alfred@pc1:~$ microk8s.kubectl label namespace cattle-system cattle-system.k8s.io/disable-validation=true
namespace/cattle-system labeled
alfred@pc1:~$ microk8s enable helm3
Enabling Helm 3
Fetching helm version v3.5.0.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10.4M  100 10.4M    0     0  5101k      0  0:00:02  0:00:02 --:--:-- 5101k
Helm 3 is enabled
alfred@pc1:~$ microk8s.helm3 repo add rancher-latest https://releases.rancher.com/server-charts/latest
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/2215/credentials/client.config
"rancher-latest" has been added to your repositories
alfred@pc1:~$ microk8s.helm3 repo update
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/2215/credentials/client.config
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "rancher-latest" chart repository
Update Complete. ⎈Happy Helming!⎈
alfred@pc1:~$ microk8s.helm3 install rancher rancher-latest/rancher --namespace cattle-system  --set replicas=1 --set hostname=${HOSTNAME}.home
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/2215/credentials/client.config
NAME: rancher
LAST DEPLOYED: Sat May 29 12:59:51 2021
NAMESPACE: cattle-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Rancher Server has been installed.
 
NOTE: Rancher may take several minutes to fully initialize. Please standby while Certificates are being issued and Ingress comes up.
 
Check out our docs at https://rancher.com/docs/rancher/v2.x/en/
 
Browse to https://pc1.home
 
Happy Containering!
alfred@pc1:~$  


Das führt am Cluster zu folgender Situation:
 
alfred@pc1:~$ k get all -n cattle-system  
NAME                                   READY   STATUS      RESTARTS   AGE
pod/rancher-676b5bcc8b-k2cfb           1/1     Running     0          11m
pod/helm-operation-jg44n               0/2     Completed   0          7m5s
pod/helm-operation-lkjq5               0/2     Completed   0          5m56s
pod/helm-operation-ml7kw               0/2     Completed   0          4m37s
pod/helm-operation-l26pq               0/2     Completed   0          4m17s
pod/rancher-webhook-65f558c486-4fvfh   1/1     Running     0          3m19s
pod/helm-operation-ffv4z               0/2     Completed   0          3m30s
pod/helm-operation-xwp6w               0/2     Completed   0          2m56s
 
NAME                      TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)          AGE
service/rancher           ClusterIP   10.152.183.199   <none>        80/TCP,443/TCP   11m
service/rancher-webhook   ClusterIP   10.152.183.210   <none>        443/TCP          3m20s
 
NAME                              READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/rancher           1/1     1            1           11m
deployment.apps/rancher-webhook   1/1     1            1           3m20s
 
NAME                                         DESIRED   CURRENT   READY   AGE
replicaset.apps/rancher-676b5bcc8b           1         1         1       11m
replicaset.apps/rancher-webhook-65f558c486   1         1         1       3m19s
alfred@pc1:~$  
 
Wir ändern den Service „rancher“ von Cluster-Ip auf LoadBalancer.

Wir vergeben ein sicheres Passwort → Gut im keepass aufbewahren.

 

Und funktioniert out of the box!