diff --git a/workloads/bankofparents/deploy.yml b/workloads/bankofparents/deploy.yml deleted file mode 100644 index 23d5c25..0000000 --- a/workloads/bankofparents/deploy.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: bankofparents -spec: - replicas: 1 - selector: - matchLabels: - app: bankofparents - template: - metadata: - labels: - app: bankofparents - spec: - containers: - - image: registry.gitlab.com/shouptech/bankofparents:202006300307 - imagePullPolicy: IfNotPresent - name: bankofparents - env: - - name: GUNICORN_CMD_ARGS - value: "--access-logfile=-" - ports: - - containerPort: 8000 - resources: - requests: - memory: "128Mi" - cpu: "10m" - limits: - memory: "1024Mi" - cpu: "1000m" - livenessProbe: - tcpSocket: - port: 8000 - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 5 - successThreshold: 1 - failureThreshold: 1 - volumeMounts: - - name: bankofparents-app - mountPath: /app - - name: bankofparents-instance - mountPath: /instance - volumes: - - name: bankofparents-app - hostPath: - path: /opt/bankofparents/app - type: Directory - - name: bankofparents-instance - hostPath: - path: /opt/bankofparents/instance - type: Directory diff --git a/workloads/bankofparents/service.yml b/workloads/bankofparents/service.yml deleted file mode 100644 index 36f39cc..0000000 --- a/workloads/bankofparents/service.yml +++ /dev/null @@ -1,25 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - name: bankofparents -spec: - selector: - app: bankofparents - ports: - - protocol: TCP - port: 8000 - targetPort: 8000 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: bankofparents -spec: - rules: - - host: bank.shoup.io - http: - paths: - - backend: - serviceName: bankofparents - servicePort: 8000 - path: /