TIPS Kubernates Project: differenze tra le versioni

Da GazziNet.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 35: Riga 35:
  https://docs.docker.com/engine/install/centos/
  https://docs.docker.com/engine/install/centos/
  https://minikube.sigs.k8s.io/docs/start/
  https://minikube.sigs.k8s.io/docs/start/
-- Oracle Linux 9.3 --
sudo yum update
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
sudo systemctl enable docker
Test:
sudo docker --version

Versione delle 20:16, 25 apr 2024

Prereq project:

- Virtual Machine Linux - Docker Framework

Oracle Linux 8:

Problema pods c'e' installato un "coso" alternativo docker: https://www.ibm.com/docs/en/eam/4.2?topic=questions-troubleshooting-tips#uninstall_podman

 yum remove buildah skopeo podman containers-common atomic-registries docker container-tools -y 

Docker Framework: https://docs.docker.com/engine/install/centos/

Creazione un utente di gestione (simil ansible)

[root@minikube01 ~]# cd /etc
[root@minikube01 etc]# vi group
Add user generic es. admin in /etc/group gruppo docker
minikube config set driver docker
minikube start
kubectl port-forward service/hello-minikube 8080:8080 --address='0.0.0.0'


In caso di riavvio della macchina da utente admin:

http://10.2.2.35:7080/

minikube start


Links:

https://amalgjose.com/2021/06/08/how-to-configure-kubernetes-port-forward-bind-to-0-0-0-0-instead-of-default-127-0-0-1/
https://docs.docker.com/engine/install/centos/
https://minikube.sigs.k8s.io/docs/start/

-- Oracle Linux 9.3 --

sudo yum update
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
sudo systemctl enable docker

Test:

sudo docker --version