Skip to content

Commit

Permalink
Merge pull request #946 from tmjd/add-cluster-type-to-manifests
Browse files Browse the repository at this point in the history
Add CLUSTER_TYPE to manifests
  • Loading branch information
caseydavenport authored Jul 24, 2017
2 parents 5b028fd + 0944cc4 commit 21411f6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ spec:
configMapKeyRef:
name: calico-config
key: calico_backend
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "k8s"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ spec:
configMapKeyRef:
name: calico-config
key: calico_backend
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "kubeadm"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ spec:
configMapKeyRef:
name: calico-config
key: calico_backend
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "kubeadm"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ spec:
# Enable felix info logging.
- name: FELIX_LOGSEVERITYSCREEN
value: "info"
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "k8s"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ spec:
# Enable felix info logging.
- name: FELIX_LOGSEVERITYSCREEN
value: "info"
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "k8s"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ spec:
# Don't enable BGP.
- name: CALICO_NETWORKING_BACKEND
value: "none"
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "k8s,policyonly"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ spec:
# Don't enable BGP.
- name: CALICO_NETWORKING_BACKEND
value: "none"
# Cluster type to identify the deployment type
- name: CLUSTER_TYPE
value: "k8s,policyonly"
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion master/reference/node/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `calico/node` container is primarily configured through environment variable
| CALICO_IPV4POOL_NAT_OUTGOING | Controls NAT Outgoing for the IPv4 Pool created at start up. | boolean | true |
| CALICO_IPV6POOL_NAT_OUTGOING | Controls NAT Outgoing for the IPv6 Pool created at start up. | boolean | false |
| CALICO_STARTUP_LOGLEVEL | The log severity above which startup calico/node logs are sent to the stdout. | string | ERROR |
| CLUSTER_TYPE | Contains comma delimited list of indicators about this cluster. Expected to contain information like hosted, services, kubeadm, tectonic, or datastore type. If using Kubernetes API as the datastore then KDD will automatically be added to this list. | string | |
| CLUSTER_TYPE | Contains comma delimited list of indicators about this cluster. Expected to contain information like hosted, services, kubeadm, tectonic, or datastore type. If using Kubernetes API as the datastore then KDD will automatically be added to this list. | k8s, policy, KDD, canal, mesos, docker, rkt, acs, acse, dcos, kubeadm, kubespray, kops, tectonic | |
| ETCD_ENDPOINTS | A comma separated list of etcd endpoints (optional) | string | http://127.0.0.1:2379 |
| ETCD_KEY_FILE | Path to the etcd key file, e.g. `/etc/calico/key.pem` (optional) | string | |
| ETCD_CERT_FILE | Path to the etcd client cert, e.g. `/etc/calico/cert.pem` (optional) | string | |
Expand Down

0 comments on commit 21411f6

Please sign in to comment.