Skip to content

creation and management of kubernetes pods & docker images using minikube and kubectl

Notifications You must be signed in to change notification settings

sama863nz/Kubernetes-kubectl

Repository files navigation

Kubernetes

yml

write your yml code here and save it as sam-yaml-file.yaml

to install yml for python

pip install pyyml

run the python file

python test-sam-yaml-file.py

make & run docker compose

to ssh from one ubuntu server to another

copy the content of .pem key (which was used during the lauch of ec2) in a file and save it. Use nano editor.

sudo ssh -i <location & name of the file where .pem key content is saved> ubuntu@

ANSIBLE

create a hosts file which is an inventory file to hold the details of the servers

generally this file is in the location /etc/ansible/hosts. If not then create a hosts file anywhere in ubuntu server

nano hosts

[servers] server1 ansible_host= server2 ansible_host= server3 ansible_host=

[all:vars] ansible_python_interpreter=user/bin/python3

ansible-inventory --list -y -i

About

creation and management of kubernetes pods & docker images using minikube and kubectl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages