Last active
May 23, 2018 15:42
-
-
Save Cryptophobia/648b23f234eeb9538c87b478de401a53 to your computer and use it in GitHub Desktop.
tcell_configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl edit deploy deis-router -n deis | |
... | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /healthz | |
port: 9090 | |
scheme: HTTP | |
initialDelaySeconds: 1 | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /opt/router/conf/tcell_agent.config | |
name: tcell-config | |
subPath: tcell_agent.config | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: deis-router | |
serviceAccountName: deis-router | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- configMap: | |
defaultMode: 511 | |
name: tcell-config | |
name: tcell-config | |
status: | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: tcell-config | |
namespace: deis | |
labels: | |
k8s-app: deis-router | |
kubernetes.io/cluster-service: "true" | |
data: | |
tcell_agent.config: |- | |
{ | |
"version":1, | |
"applications": | |
[ | |
{ | |
"app_id":"APPSZTYSG-aaa00", | |
"api_key":"ajskdhkajshdkjahwdhqiuqieuywqiueyiwo1uye1237137182739817239817", | |
"logging_options": { | |
"enabled":true, | |
"level":"WARN" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment