Skip to content

Commit

Permalink
Remove unnecessary CA data, scale deployment to HA
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoDCube committed Oct 5, 2023
1 parent c0dfbce commit 413d0c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
with:
openshift_server_url: ${{ secrets.OKD4_HOST }}
openshift_token: ${{ secrets.OKD4_TOKEN }}
certificate_authority_data: ${{ secrets.OKD4_CA }}
namespace: 'verseghy-website-beta'

- name: Buildah Build
Expand Down
9 changes: 8 additions & 1 deletion kubernetes/website_frontend2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: website-frontend2
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: website-frontend2
Expand Down Expand Up @@ -38,6 +38,13 @@ spec:
resources:
limits:
memory: 128Mi
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: website-frontend2
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 413d0c8

Please sign in to comment.