Differenze tra le versioni di "TIPS Kubernates Project"

Da GazziNet.
Jump to navigation Jump to search
 
(5 versioni intermedie di uno stesso utente non sono mostrate)
Riga 4: Riga 4:
- Docker Framework
- 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
Problema pods: 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
   yum remove buildah skopeo podman containers-common atomic-registries docker container-tools -y


Docker Framework: https://docs.docker.com/engine/install/centos/
Docker Framework: https://docs.docker.com/engine/install/centos/
Creazione un utente di gestione (simil ansible)


  [root@minikube01 ~]# cd /etc
  [root@minikube01 ~]# cd /etc
  [root@minikube01 etc]# vi group
  [root@minikube01 etc]# vi group


  Add user generic in /etc/group
  Add user generic es. admin in /etc/group gruppo docker


  minikube config set driver docker
  minikube config set driver docker
  minikube start
  minikube start


  kubectl port-forward service/hello-minikube 7080:8080 --address='0.0.0.0'
  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/

Versione attuale delle 00:22, 6 mar 2022

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/