Skip to content

Instantly share code, notes, and snippets.

@kameshsampath kameshsampath/deployment.yaml Secret
Last active Mar 19, 2019

Embed
What would you like to do?
The gist to show in build init container pattern blog
apiVersion: apps/v1
kind: Deployment
metadata:
name: quarkus-greeter
spec:
selector:
matchLabels:
app: quarkus-greeter
template:
metadata:
labels:
app: quarkus-greeter
spec:
containers:
- name: quarkus-greeter
image: dev.local/rhdevelopers/quarkus-java-builder
args:
-
imagePullPolicy: IfNotPresent
resources:
limits:
memory: "32Mi"
cpu: "10m"
ports:
- name: http-web
containerPort: 8080
livenessProbe:
httpGet:
port: 8080
path: /
initContainers:
- name: build-status-checker
image: quay.io/rhdevelopers/build-status-checker
args:
- poll
- --buildname=quarkus-greeter-build
serviceAccountName: build-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.