imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Move to the internal cron in reviewboard that actually works and gave reviewboard some more ram to handle it.
21 months ago, Gary Kramlich
0856d92dad51
Move to the internal cron in reviewboard that actually works and gave reviewboard some more ram to handle it.
---
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
---