Browse Source

move vars for api socket into group_vars

pull/13/head
Smaine Kahlouch 9 years ago
parent
commit
c997860e1c
3 changed files with 8 additions and 3 deletions
  1. 4
      environments/dev/group_vars/k8s-cluster.yml
  2. 4
      environments/production/group_vars/k8s-cluster.yml
  3. 3
      roles/kubernetes/common/defaults/main.yml

4
environments/dev/group_vars/k8s-cluster.yml

@ -35,6 +35,10 @@ peer_with_router: false
# Warning : enabling router peering will disable calico's default behavior ('node mesh').
# The subnets of each nodes will be distributed by the datacenter router
# The port the API Server will be listening on.
kube_master_port: 443 # (https)
kube_master_insecure_port: 8080 # (http)
# Internal DNS configuration.
# Kubernetes can create and mainatain its own DNS server to resolve service names
# into appropriate IP addresses. It's highly advisable to run such DNS server,

4
environments/production/group_vars/k8s-cluster.yml

@ -35,6 +35,10 @@
# Warning : enabling router peering will disable calico's default behavior ('node mesh').
# The subnets of each nodes will be distributed by the datacenter router
# The port the API Server will be listening on.
# kube_master_port: 443 # (https)
# kube_master_insecure_port: 8080 # (http)
# Internal DNS configuration.
# Kubernetes can create and mainatain its own DNS server to resolve service names
# into appropriate IP addresses. It's highly advisable to run such DNS server,

3
roles/kubernetes/common/defaults/main.yml

@ -11,9 +11,6 @@ kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
# look in here. Don't do it.
kube_config_dir: /etc/kubernetes
# The port the API Server will be listening on.
kube_master_port: 443
# This is where all the cert scripts and certs will be located
kube_cert_dir: "{{ kube_config_dir }}/certs"

Loading…
Cancel
Save