Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions deploy/k8s/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubesimplify-website
namespace: default
labels:
app: kubesimplify
spec:
selector:
matchLabels:
app: kubesimplify
template:
metadata:
labels:
app: kubesimplify
spec:
containers:
- name: kubesimplify-cont
# TODO: Replace the image with new image
image: public.ecr.aws/dipankardas011/kubesimplify-website:v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to change this to have kubesimplify and not your personal

Copy link
Member Author

@dipankardas011 dipankardas011 Sep 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the new image to be used?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not have a kubesimplify account , need to think how can we do it and also give access to a few people

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then let this pr be in this state till the registry is ready to be used👍

imagePullPolicy: Always
ports:
- containerPort: 3000
livenessProbe:
tcpSocket:
port: 3000
readinessProbe:
httpGet:
path: /
port: 3000
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 5m
memory: 50Mi
...
13 changes: 13 additions & 0 deletions deploy/k8s/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: kubesimplify-service
spec:
selector:
app: kubesimplify
type: LoadBalancer
ports:
- port: 443
targetPort: 3000
...