AKS conversion

This commit is contained in:
Zeeshaun
2026-03-17 18:03:52 +00:00
parent de9ddd5001
commit 6bba4c92e8
24 changed files with 287 additions and 0 deletions
@@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: repo-client
spec:
replicas: 1
selector:
matchLabels:
app: repo-client
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: repo-client
spec:
containers:
- name: repo-client
image: repo-client
resources:
requests:
cpu: "50m"
memory: "128Mi"
limits:
memory: "256Mi"
ports:
- containerPort: 80
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 5
httpGet:
path: /
port: 80
readinessProbe:
initialDelaySeconds: 5
periodSeconds: 5
httpGet:
path: /
port: 80
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: repo-client
spec:
selector:
app: repo-client
ports:
- port: 80
targetPort: 80
@@ -0,0 +1,8 @@
resources:
- Deployment.yaml
- Service.yaml
- virtual-service.yaml
images:
- name: repo-client
newName: landmarkcu/lcu.webapps.collections.repoclient-repoclient
@@ -0,0 +1,18 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: repo-client
spec:
hosts: []
gateways:
- istio-system/ingress-gateway
http:
- name: repo-client
match:
- uri:
prefix: /
route:
- destination:
host: repo-client
port:
number: 80
@@ -0,0 +1,2 @@
resources:
- normal
@@ -0,0 +1,7 @@
resources:
- ../../../base
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,7 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: repo-client
spec:
hosts:
- repomanage.lcu-internal.com
@@ -0,0 +1,2 @@
resources:
- normal
@@ -0,0 +1,7 @@
resources:
- ../../../base
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,7 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: repo-client
spec:
hosts:
- qa-repomanage.lcu-internal.com
@@ -0,0 +1,2 @@
resources:
- normal
@@ -0,0 +1,7 @@
resources:
- ../../../base
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,7 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: repo-client
spec:
hosts:
- uat-repomanage.lcu-internal.com