-
Notifications
You must be signed in to change notification settings - Fork 69
Use Cases for 915 Mizar Integration
Xiaoning Ding edited this page Sep 3, 2020
·
6 revisions
- Bring up a multi-node Arktos Cluster.
- Install Arktos network CRD: "kubectl create -f ArktosNetwork.yaml".
- Install Mizar CRD & operators: "kubectl create -f Mizar.yaml".
Steps | Expected Result |
---|---|
kubectl create tenant T1 | A "default" network is created and ready for use |
kubectl create vpc demo; kubectl create -f demoNetwork.yaml (with the VPC ID) --tenant T1 | A "demo" network is created and ready for use |
kubectl delete network demo | The "demo" network is deleted (? Pending decision) |
How to check a network is ready:
- Its "status" is "ready"
- Per-network "kube-DNS" service is created.
- Per-network DNS deployment is created.
Steps | Expected Result |
---|---|
kubectl create -f pod1.yaml | pod1 is running, IP assigned |
kubectl create -f pod2.yaml with a same node selector to pod1 | pod2 is running, IP assigned, and able to communicate with pod1 |
kubectl create -f pod3.yaml with a different node selector to pod1 | pod3 is running, IP assigned, and able to communicate with pod1 and pod2 |
For all cases, also verify:
- Pod IP is assigned from the specified subnet.
- Pod "readiness" and other annotations are correctly updated.
Steps | Expected Result |
---|---|
kubectl create -f deployment1, service1.yaml | service1 is assigned an IP from the clusterIP range in network object |
Access the cluster IP from a node or from a pod | the cluster IP is accessible |
Kubectl scale deployment1 | verify the pod IP list is correctly updated for the cluster IP |
Kubectl delete deployment1, service1 | Deletion succeed, and all endpoints are deleted on Mizar side as well |
(TBD: do we only support clusterIP type of services?)
Steps | Expected Result |
---|---|
kubectl create -f pod1.yaml | pod1 is running, IP assigned |
kubectl create -f pod2.yaml with a different network | pod2 is running, IP assigned, but not able to communicate with pod1 |