Skip to content

Commit

Permalink
change replica set and cleanup network policy
Browse files Browse the repository at this point in the history
  • Loading branch information
tom9eiger committed Jul 4, 2024
1 parent 2df2f55 commit 696649f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion deployment/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: flask-api
namespace: demo-cni-app
spec:
replicas: 3
replicas: 1
selector:
matchLabels:
app: flask-api
Expand Down
11 changes: 0 additions & 11 deletions deployment/network-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,3 @@ spec:
ports:
- protocol: TCP
port: 80
# ---
# apiVersion: networking.k8s.io/v1
# kind: NetworkPolicy
# metadata:
# name: deny-all-other-traffic
# spec:
# podSelector:
# matchLabels:
# app: flask-api
# policyTypes:
# - Ingress

0 comments on commit 696649f

Please sign in to comment.