From 9af479d83384e33fdbfe499701d726a52c4bd63a Mon Sep 17 00:00:00 2001 From: cat-shark <1716967236@qq.com> Date: Sun, 26 Jul 2026 21:35:51 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20k8s/=20=E2=80=94=20migrated?= =?UTF-8?q?=20to=20lpt-infra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/deployment.yaml | 53 --------------------------------------------- k8s/service.yaml | 16 -------------- 2 files changed, 69 deletions(-) delete mode 100644 k8s/deployment.yaml delete mode 100644 k8s/service.yaml diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml deleted file mode 100644 index 1434eab..0000000 --- a/k8s/deployment.yaml +++ /dev/null @@ -1,53 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: lpt-fe - namespace: lpt-dev - labels: - app: lpt-fe -spec: - replicas: 1 - selector: - matchLabels: - app: lpt-fe - strategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 25% - maxUnavailable: 25% - template: - metadata: - labels: - app: lpt-fe - spec: - imagePullSecrets: - - name: regcred - containers: - - name: lpt-fe - image: 192.168.123.199:5000/lpt-fe:dev - imagePullPolicy: IfNotPresent - ports: - - containerPort: 80 - resources: - requests: - cpu: 50m - memory: 64Mi - limits: - cpu: 200m - memory: 128Mi - livenessProbe: - httpGet: - path: /health - port: 80 - initialDelaySeconds: 5 - periodSeconds: 15 - timeoutSeconds: 3 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /health - port: 80 - initialDelaySeconds: 3 - periodSeconds: 5 - timeoutSeconds: 3 - failureThreshold: 3 diff --git a/k8s/service.yaml b/k8s/service.yaml deleted file mode 100644 index 8253728..0000000 --- a/k8s/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: lpt-fe - namespace: lpt-dev - labels: - app: lpt-fe -spec: - type: NodePort - selector: - app: lpt-fe - ports: - - port: 80 - targetPort: 80 - nodePort: 30080 - protocol: TCP