Mirantis / virtlet

Kubernetes CRI implementation for running VM workloads
Apache License 2.0
743 stars 128 forks source link

Update k8s example #797

Closed ivan4th closed 6 years ago

ivan4th commented 6 years ago

The example is updated to make it use "modern" StatefulSet definition and for compatiblity with CoreDNS in k8s 1.12. Previously, the example did work except for the very final stage where kubeconfig is set up for the root user, which was because the script was waiting for DNS pods to become "ready 3/3" instead of "ready 1/1" which must be used for CoreDNS. Also, some unneeded options are removed, and ephemeral flexvolume usage is eliminated in favor of VirtletRootVolumeSize.

Docs page that uses the example: http://virtlet.ivan4th.pro/reference/vm-pod/


This change is Reviewable