add ability to specify local_path_provisioner data dir for PersistentVolumes
This commit is contained in:
@@ -12,7 +12,7 @@ local_path_provisioner_enabled: true
|
||||
# local_path_provisioner_namespace: "local-path-storage"
|
||||
local_path_provisioner_storage_class: local-path
|
||||
local_path_provisioner_reclaim_policy: Delete
|
||||
# local_path_provisioner_claim_root: /opt/local-path-provisioner/
|
||||
local_path_provisioner_claim_root: /opt/local-path-provisioner/
|
||||
# local_path_provisioner_debug: false
|
||||
# local_path_provisioner_image_repo: "rancher/local-path-provisioner"
|
||||
# local_path_provisioner_image_tag: "v0.0.23"
|
||||
|
||||
@@ -17,7 +17,7 @@ kube_token_dir: "{{ kube_config_dir }}/tokens"
|
||||
kube_api_anonymous_auth: true
|
||||
|
||||
## Change this to use another Kubernetes version, e.g. a current beta release
|
||||
kube_version: v1.30.3
|
||||
kube_version: v1.29.0
|
||||
|
||||
# Where the binaries will be downloaded.
|
||||
# Note: ensure that you've enough disk space (about 1G)
|
||||
@@ -404,7 +404,4 @@ auto_renew_certificates: true
|
||||
kubeadm_patches:
|
||||
enabled: false
|
||||
source_dir: "{{ inventory_dir }}/patches"
|
||||
dest_dir: "{{ kube_config_dir }}/patches"
|
||||
## Kubelet additional settings
|
||||
kubelet_custom_flags:
|
||||
- "--root-dir=/app/k8s/kubelet"
|
||||
dest_dir: "{{ kube_config_dir }}/patches"
|
||||
@@ -1,17 +1,33 @@
|
||||
|
||||
t1-disk-lt-k8s-test-master-01 ansible_host=10.100.20.47 ip=10.100.20.47
|
||||
t1-disk-lt-k8s-test-slave-01 ansible_host=10.100.20.48 ip=10.100.20.48
|
||||
t1-disk-lt-k8s-test-slave-02 ansible_host=10.100.20.49 ip=10.100.20.49
|
||||
t1-disk-lt-k8s-master-01 ansible_host=10.100.20.43 ip=10.100.20.43
|
||||
t1-disk-lt-k8s-master-02 ansible_host=10.100.20.38 ip=10.100.20.38
|
||||
t1-disk-lt-k8s-master-03 ansible_host=10.100.20.42 ip=10.100.20.42
|
||||
t1-disk-lt-k8s-slave-01 ansible_host=10.100.20.40 ip=10.100.20.40
|
||||
t1-disk-lt-k8s-slave-02 ansible_host=10.100.20.41 ip=10.100.20.41
|
||||
t1-disk-lt-k8s-slave-03 ansible_host=10.100.20.39 ip=10.100.20.39
|
||||
t1-disk-lt-k8s-slave-04 ansible_host=10.100.20.45 ip=10.100.20.45
|
||||
t1-disk-lt-k8s-slave-05 ansible_host=10.100.20.44 ip=10.100.20.44
|
||||
t1-disk-lt-k8s-slave-06 ansible_host=10.100.20.50 ip=10.100.20.50
|
||||
t1-disk-lt-k8s-slave-07 ansible_host=10.100.20.51 ip=10.100.20.51
|
||||
|
||||
[kube_control_plane]
|
||||
t1-disk-lt-k8s-test-master-01
|
||||
t1-disk-lt-k8s-master-01
|
||||
t1-disk-lt-k8s-master-02
|
||||
t1-disk-lt-k8s-master-03
|
||||
|
||||
[etcd]
|
||||
t1-disk-lt-k8s-test-master-01
|
||||
t1-disk-lt-k8s-master-01
|
||||
t1-disk-lt-k8s-master-02
|
||||
t1-disk-lt-k8s-master-03
|
||||
|
||||
[kube_node]
|
||||
t1-disk-lt-k8s-test-slave-01
|
||||
t1-disk-lt-k8s-test-slave-02
|
||||
t1-disk-lt-k8s-slave-01
|
||||
t1-disk-lt-k8s-slave-02
|
||||
t1-disk-lt-k8s-slave-03
|
||||
t1-disk-lt-k8s-slave-04
|
||||
t1-disk-lt-k8s-slave-05
|
||||
t1-disk-lt-k8s-slave-06
|
||||
t1-disk-lt-k8s-slave-07
|
||||
|
||||
[k8s_cluster:children]
|
||||
kube_control_plane
|
||||
|
||||
Reference in New Issue
Block a user