Category: Devops

VirtualBox Instance via Vagrant

VirtualBox Instance via vagrant mkdir ubuntu vagrant init ubuntu/xenial64 vagrant up vagrant ssh OR vagrant get-config???? kops wget https://github.com/kubernetes/kops/releases/download/1.12.1/kops-linux-amd64 chmod +x kops-linux-amd64 sudo mv kops-linux-amd64 /usr/local/bin/kops awscli sudo apt-get update sudo apt-get install python-pip sudo pip install awscli aws configure…

Some kubectl Commands

Describe POD kubectl describe pod nodehelloworld.example.com minikube service MacBook:~/kubernetes-course$ cat first-app/helloworld-service.ymlapiVersion: v1kind: Servicemetadata:name: helloworld-servicespec:ports:- port: 80targetPort: nodejs-portprotocol: TCPselector:app: helloworldtype: LoadBalancerMacBook:~/kubernetes-course$ cat first-app/helloworld-nodeport-service.ymlapiVersion: v1kind: Servicemetadata:name: helloworld-servicespec:ports:- port: 31001nodePort: 31001targetPort: nodejs-portprotocol: TCPselector:app: helloworldtype: NodePortMacBook:~/kubernetes-course$ kubectl create -f first-app/helloworld-nodeport-service.ymlservice/helloworld-service createdMacBook:~/kubernetes-course$ minikube service helloworld-service…

minikube dashboard

MacBook:~$ minikube dashboard🔌 Enabling dashboard …🤔 Verifying dashboard health …🚀 Launching proxy …🤔 Verifying proxy health …🎉 Opening http://127.0.0.1:51077/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ in your default browser…

INSTALL VirtualBox Instance via vagrant mkdir ubuntu vagrant init ubuntu/xenial64 vagrant up vagrant ssh OR vagrant get-config???? kops wget https://github.com/kubernetes/kops/releases/download/1.12.1/kops-linux-amd64 chmod +x kops-linux-amd64 sudo mv kops-linux-amd64 /usr/local/bin/kops awscli sudo apt-get update sudo apt-get install python-pip sudo pip install awscli aws…

After starting Kubernets (configure kubectl automatically): Fix : invalid object doesn’t have additional properties After installing kubectl with brew you should run: rm /usr/local/bin/kubectl brew link –overwrite kubernetes-cli minikube dashboard MacBook:~$ minikube dashboard🔌 Enabling dashboard …🤔 Verifying dashboard health …🚀…

Back to top