remove useless declaration in kubernetes resource yaml

pull/2828/head
黄sir 2 years ago
parent 4da54f53a3
commit 390a896dce

@ -34,12 +34,3 @@ spec:
ports:
- name: http-port
containerPort: 8012
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -36,12 +36,3 @@ spec:
ports:
- name: http-port
containerPort: 8080
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -36,12 +36,3 @@ spec:
ports:
- name: http-port
containerPort: 30010
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -34,12 +34,3 @@ spec:
ports:
- name: http-port
containerPort: 8013
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -34,12 +34,3 @@ spec:
ports:
- name: http-port
containerPort: 8014
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -1,17 +1,3 @@
apiVersion: v1
kind: Service
metadata:
name: praise-provider-service
labels:
app: integrated-praise-provider
spec:
type: ClusterIP
ports:
- port: 8015
name: server
selector:
app: integrated-praise-provider
---
apiVersion: apps/v1
kind: Deployment
metadata:
@ -34,12 +20,3 @@ spec:
ports:
- name: http-port
containerPort: 8015
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

@ -34,12 +34,3 @@ spec:
ports:
- name: http-port
containerPort: 8011
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
topologyKey: failure-domain.beta.kubernetes.io/zone
weight: 50
- podAffinityTerm:
topologyKey: kubernetes.io/hostname
weight: 100

Loading…
Cancel
Save