imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Move nest to the traefik cdr ingress
2020-02-11, Gary Kramlich
e01adf01abde
Move nest to the traefik cdr ingress
# wasdead is a discord bot that auto announces live stream updates.
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
reaperworld
name
:
wasdead
labels
:
app
:
wasdead
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
wasdead
strategy
:
type
:
Recreate
template
:
metadata
:
labels
:
app
:
wasdead
spec
:
affinity
:
podAntiAffinity
:
preferredDuringSchedulingIgnoredDuringExecution
:
-
podAffinityTerm
:
labelSelector
:
matchExpressions
:
-
key
:
app
operator
:
In
values
:
-
www
topologyKey
:
failure-domain.beta.kubernetes.io/region
weight
:
100
containers
:
-
name
:
wasdead
image
:
rwgrim/wasdead:latest
imagePullPolicy
:
Always
env
:
-
name
:
TWITCH_CLIENT_ID
valueFrom
:
secretKeyRef
:
name
:
wasdead
key
:
twitch_client_id
-
name
:
DISCORD_TOKEN
valueFrom
:
secretKeyRef
:
name
:
wasdead
key
:
discord_token
resources
:
limits
:
cpu
:
50m
memory
:
64Mi
requests
:
cpu
:
10m
memory
:
32Mi
volumeMounts
:
-
mountPath
:
/db
name
:
wasdead
readOnly
:
false
securityContext
:
fsGroup
:
9000
runAsUser
:
9000
volumes
:
-
name
:
wasdead
persistentVolumeClaim
:
claimName
:
wasdead
---
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
namespace
:
reaperworld
name
:
wasdead
labels
:
app
:
wasdead
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
1Gi
---