@@ -1,48 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
- name: my-service
- namespace: my-namespace
- labels:
- app: my-app
-spec:
- type: LoadBalancer
- selector:
- ports:
- - protocol: TCP
- port: 80
- targetPort: 7777
----
-apiVersion: apps/v1
-kind: Deployment
- name: my-deployment
- replicas: 10
- matchLabels:
- template:
- metadata:
- spec:
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: beta.kubernetes.io/arch
- operator: In
- values:
- - amd64
- - arm64
- containers:
- - name: nginx
- image: 134898497215.dkr.ecr.cn-northwest-1.amazonaws.com.cn/xc:q1server
- - containerPort: 7777