imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Add a new deployment for moving the imf wiki to mkdocs
2022-04-10, Gary Kramlich
fc71e853c3aa
Add a new deployment for moving the imf wiki to mkdocs
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
reviews-memcached
spec
:
ports
:
-
port
:
11211
protocol
:
TCP
name
:
memcached
selector
:
app
:
reviews
role
:
memcached
---
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
name
:
reviews-memcached
spec
:
podSelector
:
matchLabels
:
app
:
reviews
role
:
memcached
ingress
:
-
from
:
-
podSelector
:
matchExpressions
:
-
key
:
app
operator
:
In
values
:
-
reviews
-
key
:
role
operator
:
In
values
:
-
reviewboard
ports
:
-
port
:
memcached
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
reviews-memcached
spec
:
replicas
:
1
revisionHistoryLimit
:
1
selector
:
matchLabels
:
app
:
reviews
role
:
memcached
strategy
:
type
:
Recreate
template
:
metadata
:
labels
:
app
:
reviews
role
:
memcached
spec
:
containers
:
-
name
:
memcached
image
:
memcached:1.5.20-alpine
imagePullPolicy
:
Always
ports
:
-
name
:
memcached
containerPort
:
11211
resources
:
limits
:
cpu
:
50m
memory
:
256Mi
requests
:
cpu
:
10m
memory
:
128Mi
securityContext
:
fsGroup
:
11211
runAsUser
:
11211
---