Skip to content

Instantly share code, notes, and snippets.

@pilhuhn
Created August 23, 2018 08:13
Show Gist options
  • Save pilhuhn/604a5111070b6f0b35e691663686fe9c to your computer and use it in GitHub Desktop.
Save pilhuhn/604a5111070b6f0b35e691663686fe9c to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: servicea-thorntail-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: servicea
version: thorntail-mp-1.3
runtime: thorntail
mp-version: mp-1.3
spec:
containers:
- name: servicea-thorntail
image: pilhuhn/servicea-thorntail:mp-1.3
imagePullPolicy: Always
ports:
- containerPort: 8080
envFrom:
- configMapRef:
name: servicea-config
livenessProbe:
exec:
command:
- curl
- -f
- http://localhost:8080/health
initialDelaySeconds: 30
periodSeconds: 10
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: serviceb-liberty-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: serviceb
version: liberty-mp-1.3
runtime: liberty
mp-version: mp-1.3
spec:
containers:
- name: serviceb-liberty
image: pilhuhn/serviceb-liberty:mp-1.3
imagePullPolicy: Always
ports:
- containerPort: 8080
envFrom:
- configMapRef:
name: serviceb-config
livenessProbe:
exec:
command:
- curl
- -f
- http://localhost:8080/health
initialDelaySeconds: 30
periodSeconds: 10
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: serviceb-thorntail-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: serviceb
version: thorntail-mp-1.3
runtime: thorntail
mp-version: mp-1.3
spec:
containers:
- name: serviceb-thorntail
image: pilhuhn/serviceb-thorntail:mp-1.3
imagePullPolicy: Always
ports:
- containerPort: 8080
envFrom:
- configMapRef:
name: serviceb-config
livenessProbe:
exec:
command:
- curl
- -f
- http://localhost:8080/health
initialDelaySeconds: 30
periodSeconds: 10
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment