Skip to content

Commit

Permalink
config: added configuration for snapshot controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavan-Gunda committed Jul 25, 2024
1 parent 9c66d8d commit 5c90c11
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config/common/group_vars/k8s_cluster/ck8s-k8s-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ coredns_additional_error_config: |
kube_profiling: false

csi_snapshot_controller_enabled: true

kube_scheduler_bind_address: 127.0.0.1
kube_kubeadm_scheduler_extra_args:
profiling: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ storage_classes:
# external_openstack_network_public_networks:
# - "ext-net"
# external_openstack_metadata_search_order: "configDrive,metadataService"
# supplementary_addresses_in_ssl_keys: []
supplementary_addresses_in_ssl_keys: []

# kubeconfig_localhost_ansible_host: true
kubeconfig_localhost_ansible_host: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
etcd_deployment_type: kubeadm

## Repo for UpClouds csi-driver: https://github.com/UpCloudLtd/upcloud-csi
## To use UpClouds CSI plugin to provision volumes set this value to true
## Remember to set the main account credentials as UPCLOUD_USERNAME and UPCLOUD_PASSWORD when running kubespray.
upcloud_csi_enabled: true
upcloud_csi_enable_volume_snapshot: true
upcloud_csi_snapshot_is_default: true
velero_upcloud_volumesnapshotclass_enabled: true

## Storage class options
expand_persistent_volumes: true
persistent_volumes_enabled: true
storage_classes:
- name: standard
is_default: true

supplementary_addresses_in_ssl_keys: [<loadbalancer-domain>, "kube.ops.CHANGE-ME-BASE-DOMAIN"]

kubeconfig_localhost_ansible_host: true
4 changes: 4 additions & 0 deletions rook/helmfile.d/values/cluster.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ cephBlockPools:
cephFileSystems: []

cephObjectStores: []

cephBlockPoolsVolumeSnapshotClass:
enabled: true
isDefault: true

0 comments on commit 5c90c11

Please sign in to comment.