Created
November 10, 2017 06:59
-
-
Save matiasinsaurralde/ceee0f5f2a0ae2cd3c9b3a2c61b39f8e to your computer and use it in GitHub Desktop.
tyk-gateway.yaml
This file contains hidden or 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: tyk-gateway | |
namespace: tyk | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: tyk-gateway | |
spec: | |
containers: | |
- image: tykio/tyk-gateway:latest | |
imagePullPolicy: Always | |
name: tyk-gateway | |
env: | |
- name: REDIGOCLUSTER_SHARDCOUNT | |
value: "128" | |
- name: TYK_LOGLEVEL | |
value: "debug" | |
command: ["/opt/tyk-gateway/tyk", "--conf=/etc/tyk-gateway/tyk.conf"] | |
workingDir: /opt/tyk-gateway | |
ports: | |
- containerPort: 8080 | |
volumeMounts: | |
- name: tyk-gateway-apps | |
mountPath: /apps | |
- name: tyk-gateway-conf | |
mountPath: /etc/tyk-gateway | |
volumes: | |
- name: tyk-gateway-apps | |
gcePersistentDisk: | |
pdName: tyk-gateway | |
fsType: ext4 | |
- name: tyk-gateway-conf | |
configMap: | |
name: tyk-gateway-conf | |
items: | |
- key: tyk.conf | |
path: tyk.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment