Skip to content

naoto0822/k8s-sakuravps-playbook

Repository files navigation

k8s-sakuravps-playbook

Requirements

  • CentOS 7.x
  • python 3.7.0 (pip 20.2.4)
  • Ansible 2.10.3
$ brew tap esolitos/ipa
$ brew install sshpass

Usage

Create Cluster (Master Node / Worker Node)

$ hoge

Add Worker Node

$ exec join command
$ sudo systemctl daemon-reload
$ sudo systemctl restart kubelet

kubectl

get context/node

$ scp -P {port} -i ~/.ssh/id_rsa_k8s k8s@{master_global_ip}:/home/k8s/.kube/config ./.admin.conf
$ export KUBECONFIG=~/.kube/config:.admin.conf
$ kubectl config current-context
$ kubectl get nodes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published