Skip to content

Commit

Permalink
➕ change app cluster settings - allow persistent storage
Browse files Browse the repository at this point in the history
Allows us to us create persistent volumes in the node path /var/storage an every cluster node
  • Loading branch information
Pierre Wilken committed Sep 18, 2019
1 parent fd9903e commit 6dea64e
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ rancher/system-tools
system/rancher/kube_config_rancher-cluster.yml

system/rancher/rancher-cluster.rkestate

system/rancher/system-tools
96 changes: 96 additions & 0 deletions system/application-nodes/app-cluster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
addon_job_timeout: 30
authentication:
strategy: "x509|webhook"
bastion_host:
ssh_agent_auth: false
ignore_docker_version: true
#
# # Currently only nginx ingress provider is supported.
# # To disable ingress controller, set `provider: none`
# # To enable ingress on specific nodes, use the node_selector, eg:
# provider: nginx
# node_selector:
# app: ingress
#
ingress:
provider: "nginx"
kubernetes_version: "v1.14.6-rancher1-1"
monitoring:
provider: "metrics-server"
#
# # If you are using calico on AWS
#
# network:
# plugin: calico
# calico_network_provider:
# cloud_provider: aws
#
# # To specify flannel interface
#
# network:
# plugin: flannel
# flannel_network_provider:
# iface: eth1
#
# # To specify flannel interface for canal plugin
#
# network:
# plugin: canal
# canal_network_provider:
# iface: eth1
#
network:
options:
flannel_backend_type: "vxlan"
plugin: "canal"
restore:
restore: false
#
# services:
# kube-api:
# service_cluster_ip_range: 10.43.0.0/16
# kube-controller:
# cluster_cidr: 10.42.0.0/16
# service_cluster_ip_range: 10.43.0.0/16
# kubelet:
# cluster_domain: cluster.local
# cluster_dns_server: 10.43.0.10
#
services:
etcd:
backup_config:
enabled: true
interval_hours: 12
retention: 6
creation: "12h"
extra_args:
election-timeout: "5000"
heartbeat-interval: "500"
retention: "72h"
snapshot: false
kube-api:
always_pull_images: false
extra_args:
feature-gates: "BlockVolume=true"
pod_security_policy: false
service_node_port_range: "30000-32767"
kubelet:
extra_args:
feature-gates: "BlockVolume=true"
extra_binds:
- "/var/storage:/var/storage:rshared"
fail_swap_on: false
scheduler:
extra_args:
feature-gates: "BlockVolume=true"
ssh_agent_auth: false
#
# # Rancher Config
#
docker_root_dir: "/var/lib/docker"
enable_cluster_alerting: false
enable_cluster_monitoring: true
enable_network_policy: false
local_cluster_auth_endpoint:
enabled: true
name: "app"
File renamed without changes.

0 comments on commit 6dea64e

Please sign in to comment.