imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Checking in the EFK stuff, it still needs work though just tired of having it sitting in a modified state in my working copy
2019-11-24, Gary Kramlich
602f15d61173
Checking in the EFK stuff, it still needs work though just tired of having it sitting in a modified state in my working copy
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
namespace
:
imfreedom
name
:
www
annotations
:
certmanager.k8s.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
:
certmanager.k8s.io/v1alpha1
kind
:
Certificate
metadata
:
namespace
:
imfreedom
name
:
www
spec
:
secretName
:
www-tls
issuerRef
:
name
:
letsencrypt
commonName
:
imfreedom.org
dnsNames
:
-
imfreedom.org
-
www.imfreedom.org
acme
:
config
:
-
http01
:
ingress
:
www
domains
:
-
imfreedom.org
-
www.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
:
100m
memory
:
96Mi
requests
:
cpu
:
50m
memory
:
64Mi
---