Created
October 17, 2019 04:32
-
-
Save cclloyd/918170c0ee1759a2cc9f9fff66d06c44 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: archivewarrior | |
labels: | |
app: archivewarrior | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: archivewarrior | |
template: | |
metadata: | |
labels: | |
app: archivewarrior | |
spec: | |
containers: | |
- name: archivewarrior | |
image: archiveteam/warrior-dockerfile | |
imagePullPolicy: IfNotPresent | |
#env: | |
# - name: OPTIONAL_VARS | |
# value: GOHERE | |
--- | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: archivewarrior | |
spec: | |
selector: | |
app: archivewarrior | |
ports: | |
- protocol: TCP | |
name: archivewarrior-http | |
port: 8001 | |
targetPort: 8001 | |
type: NodePort # (Can set to LoadBalancer if you have MetalLB installed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment