took out traefik stuff
This commit is contained in:
parent
0b7dae5415
commit
e06383da6f
13
mt-cert.yaml
13
mt-cert.yaml
|
@ -1,13 +0,0 @@
|
|||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: mt.r8z.us
|
||||
namespace: default
|
||||
spec:
|
||||
secretName: mt.r8z.us-tls
|
||||
issuerRef:
|
||||
name: letsencrypt
|
||||
kind: ClusterIssuer
|
||||
commonName: mt.r8z.us
|
||||
dnsNames:
|
||||
- mt.r8z.us
|
|
@ -1,12 +0,0 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: mt-ing-rt
|
||||
namespace: default
|
||||
spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`mt.r8z.us`) && (PathPrefix(`/`)
|
||||
services:
|
||||
- kind: Service
|
||||
name: mt-svc
|
|
@ -1,8 +1,6 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
name: mt-ingress
|
||||
namespace: default
|
||||
spec:
|
||||
|
@ -17,7 +15,3 @@ spec:
|
|||
number: 80
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- mt.r8z.us
|
||||
secretName: mt.r8z.us-tls
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
deployment.kubernetes.io/revision: "1"
|
||||
labels:
|
||||
app: mytool
|
||||
name: mytool
|
||||
namespace: default
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mytool
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
app: mytool
|
||||
spec:
|
||||
containers:
|
||||
- image: wbitt/network-multitool
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: network-multitool
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: None
|
||||
dnsConfig:
|
||||
nameservers:
|
||||
- 10.96.0.10
|
||||
searches:
|
||||
- mttool.svc.cluster.local
|
||||
- svc.cluster.local
|
||||
- cluster.local
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
Loading…
Reference in New Issue