mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-29 21:38:27 +02:00
new cluster
This commit is contained in:
@@ -48,25 +48,13 @@ spec:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 2000Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
cpu: 500m
|
||||
memory: 1500Mi
|
||||
dnsConfig:
|
||||
options:
|
||||
- name: ndots
|
||||
value: "1"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
volumes:
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
@@ -99,6 +87,29 @@ spec:
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9091
|
||||
externalTrafficPolicy: Local
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 192.168.9.204
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
labels:
|
||||
app.kubernetes.io/instance: authelia
|
||||
app.kubernetes.io/name: authelia
|
||||
name: authelia
|
||||
namespace: auth
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- login.k3s.xpander.ovh
|
||||
rules:
|
||||
- host: login.k3s.xpander.ovh
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: authelia
|
||||
port:
|
||||
number: 80
|
||||
|
Reference in New Issue
Block a user