From 3d012a4c519723603e0e55ea4717fd9ace85ef20 Mon Sep 17 00:00:00 2001 From: Piethein Strengholt Date: Thu, 10 May 2018 22:05:39 +0200 Subject: [PATCH] remove redis yaml files --- deploy/redis/redis-master-deployment.yaml | 38 ------------------- deploy/redis/redis-service.yaml | 18 --------- deploy/redis/redis-slave-deployment.yaml | 46 ----------------------- 3 files changed, 102 deletions(-) delete mode 100755 deploy/redis/redis-master-deployment.yaml delete mode 100755 deploy/redis/redis-service.yaml delete mode 100755 deploy/redis/redis-slave-deployment.yaml diff --git a/deploy/redis/redis-master-deployment.yaml b/deploy/redis/redis-master-deployment.yaml deleted file mode 100755 index 4973d20..0000000 --- a/deploy/redis/redis-master-deployment.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apps/v1beta1 -kind: Deployment -metadata: - name: redis-master - namespace: hermes - # these labels can be applied automatically - # from the labels in the pod template if not set - # labels: - # app: redis - # role: master - # tier: backend -spec: - # this replicas value is default - # modify it according to your case - replicas: 1 - # selector can be applied automatically - # from the labels in the pod template if not set - # selector: - # matchLabels: - # app: guestbook - # role: master - # tier: backend - template: - metadata: - labels: - app: redis - role: master - tier: backend - spec: - containers: - - name: master - image: gcr.io/google_containers/redis:e2e # or just image: redis - resources: - requests: - cpu: 100m - memory: 100Mi - ports: - - containerPort: 6379 \ No newline at end of file diff --git a/deploy/redis/redis-service.yaml b/deploy/redis/redis-service.yaml deleted file mode 100755 index 064148f..0000000 --- a/deploy/redis/redis-service.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: redis-master - namespace: hermes - labels: - app: redis - role: master - tier: backend -spec: - ports: - # the port that this service should serve on - - port: 6379 - targetPort: 6379 - selector: - app: redis - role: master - tier: backend \ No newline at end of file diff --git a/deploy/redis/redis-slave-deployment.yaml b/deploy/redis/redis-slave-deployment.yaml deleted file mode 100755 index 8a55f74..0000000 --- a/deploy/redis/redis-slave-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1beta1 -kind: Deployment -metadata: - name: redis-slave - namespace: hermes - # these labels can be applied automatically - # from the labels in the pod template if not set - # labels: - # app: redis - # role: slave - # tier: backend -spec: - # this replicas value is default - # modify it according to your case - replicas: 1 - # selector can be applied automatically - # from the labels in the pod template if not set - # selector: - # matchLabels: - # app: guestbook - # role: slave - # tier: backend - template: - metadata: - labels: - app: redis - role: slave - tier: backend - spec: - containers: - - name: slave - image: gcr.io/google_samples/gb-redisslave:v1 - resources: - requests: - cpu: 100m - memory: 100Mi - env: - - name: GET_HOSTS_FROM - value: dns - # If your cluster config does not include a dns service, then to - # instead access an environment variable to find the master - # service's host, comment out the 'value: dns' line above, and - # uncomment the line below. - # value: env - ports: - - containerPort: 6379 \ No newline at end of file