mirror of
https://github.com/ION606/argo-temp.git
synced 2026-05-14 20:06:53 +00:00
added initial istio BLAHAJ code
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: coral
|
||||
namespace: demo
|
||||
spec:
|
||||
replicas: 2
|
||||
selector: { matchLabels: { app: coral } }
|
||||
template:
|
||||
metadata:
|
||||
labels: { app: coral }
|
||||
spec:
|
||||
containers:
|
||||
- name: app
|
||||
image: blahaj-bun:dev
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports: [{ containerPort: 8080, name: http }]
|
||||
env:
|
||||
- { name: SERVICE_NAME, value: "coral" }
|
||||
- { name: SERVICE_EMOJI, value: "🪸" }
|
||||
- { name: FRIEND_NAME, value: "kelp" }
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: coral
|
||||
namespace: demo
|
||||
spec:
|
||||
selector: { app: coral }
|
||||
ports: [{ name: http, port: 80, targetPort: 8080 }]
|
||||
@@ -0,0 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: [deployment.yaml, service.yaml]
|
||||
Reference in New Issue
Block a user