Changing Kubernetes service parameters

For Kubernetes clusters, you can change the following parameters:

  • Size and storage policy of the system volume on master nodes
  • Flavors for master and worker nodes
  • Flavors for Kubernetes load balancers
  • DNS nameserver and discovery URL

You can modify the default Kubernetes parameters either for all Kubernetes versions or for each version separately.

To view the current default Kubernetes parameters

Use the vinfra service compute k8saas defaults show command:

# vinfra service compute k8saas defaults show
+----------+-------------------------------------------------------------+
| Field    | Value                                                       |
+----------+-------------------------------------------------------------+
| default  | discovery_url: null                                         |
|          | dns_nameserver: null                                        |
|          | flavor: null                                                |
|          | labels:                                                     |
|          |   auto_scaling_enabled: true                                |
|          |   availability_zone: nova                                   |
|          |   boot_volume_size: 20                                      |
|          |   boot_volume_type: default                                 |
|          |   cgroup_driver: systemd                                    |
|          |   cinder_csi_enabled: 'true'                                |
|          |   cinder_csi_plugin_tag: v1.27.3                            |
|          |   cloud_provider_enabled: 'true'                            |
|          |   cloud_provider_tag: v1.22.0                               |
|          |   cluster_upgrade_method: legacy                            |
|          |   csi_attacher_tag: v4.6.1                                  |
|          |   csi_snapshotter_tag: v8.0.1                               |
|          |   docker_volume_type: default                               |
|          |   etcd_lb_disabled: 'true'                                  |
|          |   etcd_tag: v3.5.9                                          |
|          |   flannel_tag: v0.11.0-amd64                                |
|          |   heat_container_agent_tag: 5.3.11                          |
|          |   network_driver: flannel                                   |
|          |   octavia_api_lb_flavor: ''                                 |
|          |   octavia_default_flavor: ''                                |
|          |   use_podman: 'true'                                        |
|          | master_flavor: null                                         |
| v1.31.2  | labels:                                                     |
|          |   autoscaler_tag: 1.31.0                                    |
|          |   cilium_tag: v1.19.2                                       |
|          |   cinder_csi_plugin_tag: v1.31.1                            |
|          |   cloud_provider_tag: v1.31.1                               |
|          |   cluster_upgrade_method: replace                           |
|          |   container_runtime: containerd                             |
|          |   coredns_tag: 1.11.3                                       |
|          |   etcd_tag: v3.5.13                                         |
|          |   hyperkube_image: docker.io/virtuozzo/hci-binary-hyperkube |
|          |   k8s_keystone_auth_tag: v1.31.1                            |
|          |   kube_tag: v1.31.2                                         |
|          |   kube_version: v1.31.2                                     |
|          |   network_driver: cilium                                    |
| v1.32.13 | labels:                                                     |
|          |   autoscaler_tag: 1.32.7                                    |
|          |   cilium_tag: v1.19.2                                       |
|          |   cinder_csi_plugin_tag: v1.32.1                            |
|          |   cloud_provider_tag: v1.32.1                               |
|          |   cluster_upgrade_method: replace                           |
|          |   container_runtime: containerd                             |
|          |   coredns_tag: 1.11.3                                       |
|          |   etcd_tag: v3.5.16                                         |
|          |   hyperkube_image: docker.io/virtuozzo/hci-binary-hyperkube |
|          |   k8s_keystone_auth_tag: v1.32.1                            |
|          |   kube_tag: v1.32.13                                        |
|          |   kube_version: v1.32.13                                    |
|          |   network_driver: cilium                                    |
| v1.33.10 | labels:                                                     |
|          |   autoscaler_tag: 1.33.4                                    |
|          |   cilium_tag: v1.19.2                                       |
|          |   cinder_csi_plugin_tag: v1.33.1                            |
|          |   cloud_provider_tag: v1.33.1                               |
|          |   cluster_upgrade_method: replace                           |
|          |   container_runtime: containerd                             |
|          |   coredns_tag: 1.12.0                                       |
|          |   etcd_tag: v3.5.26                                         |
|          |   hyperkube_image: docker.io/virtuozzo/hci-binary-hyperkube |
|          |   k8s_keystone_auth_tag: v1.33.1                            |
|          |   kube_tag: v1.33.10                                        |
|          |   kube_version: v1.33.10                                    |
|          |   network_driver: cilium                                    |
| v1.34.6  | labels:                                                     |
|          |   autoscaler_tag: 1.34.3                                    |
|          |   cilium_tag: v1.19.2                                       |
|          |   cinder_csi_plugin_tag: v1.34.1                            |
|          |   cloud_provider_tag: v1.34.0                               |
|          |   cluster_upgrade_method: replace                           |
|          |   container_runtime: containerd                             |
|          |   coredns_tag: 1.12.1                                       |
|          |   etcd_tag: v3.6.4                                          |
|          |   hyperkube_image: docker.io/virtuozzo/hci-binary-hyperkube |
|          |   k8s_keystone_auth_tag: v1.34.1                            |
|          |   kube_tag: v1.34.6                                         |
|          |   kube_version: v1.34.6                                     |
|          |   network_driver: cilium                                    |
| v1.35.3  | labels:                                                     |
|          |   autoscaler_tag: 1.35.0                                    |
|          |   cilium_tag: v1.19.2                                       |
|          |   cinder_csi_plugin_tag: v1.35.0                            |
|          |   cloud_provider_tag: v1.35.0                               |
|          |   cluster_upgrade_method: replace                           |
|          |   container_runtime: containerd                             |
|          |   coredns_tag: 1.13.1                                       |
|          |   etcd_tag: v3.6.6                                          |
|          |   hyperkube_image: docker.io/virtuozzo/hci-binary-hyperkube |
|          |   k8s_keystone_auth_tag: v1.35.0                            |
|          |   kube_tag: v1.35.3                                         |
|          |   kube_version: v1.35.3                                     |
|          |   network_driver: cilium                                    |
+----------+-------------------------------------------------------------+