tacker/samples/mgmt_driver/kubespray
Yi Feng b3bf4ec2ce Sample script for deploying k8s with kubespray
This patch provides a sample script that allows users to install
or delete kubernetes on VMs in the VNF when executing
instantiate/terminate/scale/heal through the kubespray ansible
server.
It also provides script to install and configure Load Balancer
for kubernetes cluster in the VNF.

When instantiating CNF with service resource whose type is
`NodePort` on Kubernetes VIM deployed by kubespray, its port must
be added into Load Balancer's configuration and restart it. So
this patch also provides a sample MgmtDriver and shell script
to fix this problem.

At the same time, we found that if instantiate operation fails,
after the `instantiate_end` operation, the `terminate_end` operation
will not be executed in the rollback, which may cause the
modification in `instantiate_end` remains in the environment, so
this patch adds a `terminate_end` operation in `post_rollback_vnf`.

Implements: blueprint k8s-mgmtdriver-kubespray
Change-Id: I45661b5d8006e87db5f46a595756231849723ce6
2021-09-17 10:53:59 +09:00
..
cnf_nodeport_setting Sample script for deploying k8s with kubespray 2021-09-17 10:53:59 +09:00
kubespray_vnf_package Sample script for deploying k8s with kubespray 2021-09-17 10:53:59 +09:00
install_external_lb.sh Sample script for deploying k8s with kubespray 2021-09-17 10:53:59 +09:00
kubespray_mgmt.py Sample script for deploying k8s with kubespray 2021-09-17 10:53:59 +09:00