From 454475d58fc926c16eeddbeda15b11d6446c0abe Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sun, 26 Jan 2025 23:40:53 +0000 Subject: [PATCH] Remove podinfo --- apps/podinfo/deployment.yaml | 80 --------------------------------- apps/podinfo/ingress.yaml | 16 ------- apps/podinfo/kustomization.yaml | 6 --- apps/podinfo/service.yaml | 16 ------- 4 files changed, 118 deletions(-) delete mode 100644 apps/podinfo/deployment.yaml delete mode 100644 apps/podinfo/ingress.yaml delete mode 100644 apps/podinfo/kustomization.yaml delete mode 100644 apps/podinfo/service.yaml diff --git a/apps/podinfo/deployment.yaml b/apps/podinfo/deployment.yaml deleted file mode 100644 index 6f96fc6..0000000 --- a/apps/podinfo/deployment.yaml +++ /dev/null @@ -1,80 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: podinfo -spec: - minReadySeconds: 3 - revisionHistoryLimit: 5 - progressDeadlineSeconds: 60 - strategy: - rollingUpdate: - maxUnavailable: 0 - type: RollingUpdate - selector: - matchLabels: - app: podinfo - template: - metadata: - annotations: - prometheus.io/scrape: "true" - prometheus.io/port: "9797" - labels: - app: podinfo - spec: - containers: - - name: podinfo - image: ghcr.io/stefanprodan/podinfo:6.7.0 - imagePullPolicy: IfNotPresent - ports: - - name: http - containerPort: 9898 - protocol: TCP - - name: http-metrics - containerPort: 9797 - protocol: TCP - - name: grpc - containerPort: 9999 - protocol: TCP - command: - - ./podinfo - - --port=9898 - - --port-metrics=9797 - - --grpc-port=9999 - - --grpc-service-name=podinfo - - --level=info - - --random-delay=false - - --random-error=false - env: - - name: PODINFO_UI_COLOR - value: "#34577c" - livenessProbe: - exec: - command: - - podcli - - check - - http - - localhost:9898/healthz - initialDelaySeconds: 5 - timeoutSeconds: 5 - readinessProbe: - exec: - command: - - podcli - - check - - http - - localhost:9898/readyz - initialDelaySeconds: 5 - timeoutSeconds: 5 - resources: - limits: - cpu: 2000m - memory: 512Mi - requests: - cpu: 100m - memory: 64Mi - volumeMounts: - - name: data - mountPath: /data - volumes: - - name: data - emptyDir: {} \ No newline at end of file diff --git a/apps/podinfo/ingress.yaml b/apps/podinfo/ingress.yaml deleted file mode 100644 index 26b5344..0000000 --- a/apps/podinfo/ingress.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: traefik.io/v1alpha1 -kind: IngressRoute -metadata: - name: podinfo -spec: - entryPoints: - - web - routes: - - match: Host(`podinfo.k3s`) - kind: Rule - services: - - name: podinfo - namespace: apps - nativeLB: true - kind: Service - port: 9898 \ No newline at end of file diff --git a/apps/podinfo/kustomization.yaml b/apps/podinfo/kustomization.yaml deleted file mode 100644 index 6421176..0000000 --- a/apps/podinfo/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- deployment.yaml -- service.yaml -- ingress.yaml diff --git a/apps/podinfo/service.yaml b/apps/podinfo/service.yaml deleted file mode 100644 index 28f4ac9..0000000 --- a/apps/podinfo/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: podinfo -spec: - type: ClusterIP - selector: - app: podinfo - ports: - - name: http - port: 9898 - targetPort: 9898 - - name: grpc - port: 9999 - targetPort: 9999 - protocol: TCP \ No newline at end of file