Skip to content

Commit

Permalink
Move to another node
Browse files Browse the repository at this point in the history
  • Loading branch information
blazer82 committed Jun 17, 2024
1 parent 8e47074 commit e288976
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions deploy/k8s/analytodon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ metadata:
name: analytodon
namespace: analytodon
spec:
replicas: 2
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: analytodon
Expand All @@ -27,7 +27,7 @@ spec:
- key: project
operator: In
values:
- analytodon
- mastodon
containers:
- name: analytodon
image: productionbuild/analytodon:latest
Expand Down Expand Up @@ -85,6 +85,13 @@ spec:
httpGet:
path: /login
port: http
resources:
requests:
memory: '20Mi'
cpu: '100m'
limits:
memory: '256Mi'
cpu: '500m'
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit e288976

Please sign in to comment.