added k8s specific changes

This commit is contained in:
2026-03-17 10:19:07 +05:30
parent 4e5af08bc1
commit 39770839d0
13 changed files with 37 additions and 18 deletions

View File

@@ -13,9 +13,11 @@ spec:
labels:
app: website
spec:
imagePullSecrets:
- name: harbor-secret
containers:
- name: website
image: 192.168.49.2:30004/vaishnavi-ecommerce/website:latest
image: 192.168.108.200:80/vaishnavi-ecommerce/website:latest
imagePullPolicy: Always
ports:
- containerPort: 5173

View File

@@ -8,7 +8,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: website.local
- host: vaishnavi-test.myriadcara.in
http:
paths:
- path: /

View File

@@ -4,10 +4,9 @@ metadata:
name: website
namespace: ecommerce
spec:
type: NodePort
type: LoadBalancer
selector:
app: website
ports:
- port: 5173
targetPort: 5173
nodePort: 30081