Created
January 19, 2020 08:59
-
-
Save mmailhos/f22f03e12653a16648cdc94a68976dfa to your computer and use it in GitHub Desktop.
Dockerfile and Deployment for helm2.16 context deadline exceeded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.13.4 | |
WORKDIR /app | |
COPY app . | |
CMD ["./app"] | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test-deployment | |
labels: | |
app: test | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: test | |
template: | |
metadata: | |
labels: | |
app: test | |
spec: | |
containers: | |
- name: test | |
image: test | |
imagePullPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment