...
- watch ./sjekkBGP.sh
Network-nodes
Code Block |
---|
# Get ID's of the neutronnet nodes openstack network agent list --agent-type l3 # List routers on a neutronnet node openstack router list --agent <ID from previous command> # Get ip from a router openstack router show <id of router found from previous command> ping <ip> # Move a router cd admintools/networking ./migrate-router.sh <id of router> <neutronet node> # Move all routers from a neutronnet node. It will cause a bit downtime on the network if it's many routers. ./migrate-routers.sh <source neutronnet node> <destination neutronnet node> |
Placement
The placement API is just a simple API, and it only needs simple tests like:
...
Create a cluster, and verify that it is created successfully
- Create a single-master cluster with the newest template
openstack coe cluster create testcluster --cluster-template kubernetes-v1.xx.xx --master-count 1 --node-count 1 --keypair <your keypair>
- Create a multi-master cluster with the newest tamplate
openstack coe cluster create ha-testcluster --cluster-template kubernetes-v1.xx.xx-ha --master-count 3 --node-count 1 --keypair <your keypair>
Verifiy that the cluster creation is finished with the CREATE_COMPLETE status, and that they are reported as HEALTHY
openstack cluster list
Extra step: verify with kubectl that everything works fine:
mkdir -p ~/clusters/testcluster
$(openstack coe cluster config testcluster --dir ~/clusters/testcluster)
kubectl get nodes
kubectl -n kube-system get pods
The kubectl commands should list all nodes and pods of your cluster
Octavia
-
Horizon
Browse around, and verify that everything behaves the way you expect..