diff options
Diffstat (limited to 'services/tazblog/k8s')
-rw-r--r-- | services/tazblog/k8s/tazblog-db-rc.yaml | 26 | ||||
-rw-r--r-- | services/tazblog/k8s/tazblog-db-service.yaml | 12 | ||||
-rw-r--r-- | services/tazblog/k8s/tazblog-rc.yaml | 45 | ||||
-rw-r--r-- | services/tazblog/k8s/tazblog-svc.yaml | 17 |
4 files changed, 0 insertions, 100 deletions
diff --git a/services/tazblog/k8s/tazblog-db-rc.yaml b/services/tazblog/k8s/tazblog-db-rc.yaml deleted file mode 100644 index 26d730c4df27..000000000000 --- a/services/tazblog/k8s/tazblog-db-rc.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: tazblog-db -spec: - selector: - app: tazblog-db - template: - metadata: - labels: - app: tazblog-db - spec: - containers: - - image: tazjin/tazblog-haskell:master - name: tazblog-db - command: ["tazblog-db"] - ports: - - containerPort: 8070 - volumeMounts: - - name: tazblog-state - mountPath: /var/tazblog - volumes: - - name: tazblog-state - gcePersistentDisk: - pdName: tazblog-state - fsType: ext4 diff --git a/services/tazblog/k8s/tazblog-db-service.yaml b/services/tazblog/k8s/tazblog-db-service.yaml deleted file mode 100644 index 6d5d42946914..000000000000 --- a/services/tazblog/k8s/tazblog-db-service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: tazblog-db - labels: - app: tazblog-db -spec: - selector: - app: tazblog-db - ports: - - port: 8070 - name: tazblog-db diff --git a/services/tazblog/k8s/tazblog-rc.yaml b/services/tazblog/k8s/tazblog-rc.yaml deleted file mode 100644 index b29a4d5d7591..000000000000 --- a/services/tazblog/k8s/tazblog-rc.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: tazblog-5.1.3 -spec: - replicas: 2 - selector: - app: tazblog - version: v5.1.3 - template: - metadata: - labels: - app: tazblog - version: v5.1.3 - spec: - containers: - - image: tazjin/tazblog-haskell:master - imagePullPolicy: Always - name: tazblog - command: ["tazblog", "--dbHost", "tazblog-db.default.svc.cluster.local"] - ports: - - containerPort: 8000 - - image: tazjin/varnish - imagePullPolicy: Always - name: tazblog-varnish - ports: - - containerPort: 6081 - - containerPort: 6082 - - image: tazjin/hitch:master - imagePullPolicy: Always - name: tazblog-hitch - command: ["hitch", "--backend=[127.0.0.1]:6083", "--write-proxy", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"] - ports: - - containerPort: 8443 - volumeMounts: - - name: tazblog-tls - readOnly: true - mountPath: /etc/hitch/ssl - resources: - requests: - memory: "1024Mi" - volumes: - - name: tazblog-tls - secret: - secretName: tazblog-tls diff --git a/services/tazblog/k8s/tazblog-svc.yaml b/services/tazblog/k8s/tazblog-svc.yaml deleted file mode 100644 index 6a2d9a422381..000000000000 --- a/services/tazblog/k8s/tazblog-svc.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: tazblog - labels: - app: tazblog -spec: - type: LoadBalancer - selector: - app: tazblog - ports: - - port: 80 - targetPort: 6081 - name: tazblog-http - - port: 443 - targetPort: 8443 - name: tazblog-https |