imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
lower the resources for imfreedom.org
2020-01-27, Gary Kramlich
11fbdc9b40c6
lower the resources for imfreedom.org
---
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
namespace
:
imfreedom
name
:
www
annotations
:
cert-manager.io/issuer
:
letsencrypt
nginx.ingress.kubernetes.io/configuration-snippet
:
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
labels
:
app
:
www
spec
:
rules
:
-
host
:
imfreedom.org
http
:
paths
:
-
backend
:
serviceName
:
www
servicePort
:
3000
path
:
/
-
host
:
www.imfreedom.org
http
:
paths
:
-
backend
:
serviceName
:
www
servicePort
:
3000
path
:
/
tls
:
-
hosts
:
-
imfreedom.org
-
www.imfreedom.org
secretName
:
www-tls
---
apiVersion
:
v1
kind
:
Service
metadata
:
namespace
:
imfreedom
labels
:
app
:
www
name
:
www
spec
:
ports
:
-
port
:
3000
protocol
:
TCP
selector
:
app
:
www
---
apiVersion
:
cert-manager.io/v1alpha2
kind
:
Certificate
metadata
:
namespace
:
imfreedom
name
:
www
spec
:
secretName
:
www-tls
issuerRef
:
name
:
letsencrypt
commonName
:
imfreedom.org
dnsNames
:
-
imfreedom.org
-
www.imfreedom.org
-
xmpp.imfreedom.org
-
conference.imfreedom.org
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
imfreedom
name
:
www
labels
:
app
:
www
spec
:
replicas
:
2
selector
:
matchLabels
:
app
:
www
template
:
metadata
:
labels
:
app
:
www
spec
:
affinity
:
podAntiAffinity
:
preferredDuringSchedulingIgnoredDuringExecution
:
-
podAffinityTerm
:
labelSelector
:
matchExpressions
:
-
key
:
app
operator
:
In
values
:
-
www
topologyKey
:
failure-domain.beta.kubernetes.io/region
weight
:
100
containers
:
-
name
:
www
image
:
imfreedom/www:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
3000
resources
:
limits
:
cpu
:
50m
memory
:
96Mi
requests
:
cpu
:
10m
memory
:
64Mi
---