imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
add the ingress service to 20-ingress.yaml (previously it was in 90-ingress.yaml)
2020-02-11, Gary Kramlich
3f14de05e1a0
add the ingress service to 20-ingress.yaml (previously it was in 90-ingress.yaml)
---
apiVersion
:
traefik.containo.us/v1alpha1
kind
:
IngressRoute
metadata
:
name
:
data
namespace
:
imfreedom
spec
:
entryPoints
:
-
https
routes
:
-
match
:
Host(`data.imfreedom.org`)
kind
:
Rule
services
:
-
name
:
data
port
:
9000
middlewares
:
-
name
:
common-headers
tls
:
secretName
:
data-tls
---
apiVersion
:
cert-manager.io/v1alpha2
kind
:
Certificate
metadata
:
namespace
:
imfreedom
name
:
data-tls
spec
:
secretName
:
data-tls
issuerRef
:
name
:
letsencrypt
commonName
:
data.imfreedom.org
dnsNames
:
-
data.imfreedom.org
---
apiVersion
:
v1
kind
:
Service
metadata
:
namespace
:
imfreedom
name
:
data
labels
:
app
:
data
spec
:
ports
:
-
port
:
9000
protocol
:
TCP
selector
:
app
:
data
---
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
namespace
:
imfreedom
name
:
data
labels
:
app
:
data
spec
:
podSelector
:
matchLabels
:
app
:
data
ingress
:
-
from
:
-
namespaceSelector
:
matchLabels
:
name
:
kube-public
podSelector
:
matchLabels
:
app
:
traefik
role
:
controller
ports
:
-
port
:
9000
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
imfreedom
name
:
data
labels
:
app
:
data
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
data
strategy
:
type
:
Recreate
template
:
metadata
:
labels
:
app
:
data
spec
:
containers
:
-
name
:
minio
image
:
minio/minio:RELEASE.2019-06-04T01-15-58Z
imagePullPolicy
:
Always
livenessProbe
:
exec
:
command
:
-
/usr/bin/healthcheck
command
:
-
minio
-
server
-
/data
ports
:
-
containerPort
:
9000
volumeMounts
:
-
mountPath
:
/data
name
:
data
readOnly
:
false
resources
:
limits
:
cpu
:
200m
memory
:
128Mi
requests
:
cpu
:
100m
memory
:
96Mi
volumes
:
-
name
:
data
persistentVolumeClaim
:
claimName
:
data
---
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
namespace
:
imfreedom
name
:
data
labels
:
app
:
data
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
10Gi
---