Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
Prev Previous commit
Next Next commit
add loadbalancer files
  • Loading branch information
chrisakker committed Apr 18, 2023
commit fff39f723a4669b8bcffde8c58d3de2b51dcce02
23 changes: 23 additions & 0 deletions docs/http/loadbalancer-cluster1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# NKL LoadBalancer Service file
# NodePort -ports name must be in the format of
# nkl-<upstream-block-name>
# externalIPs are set to Nginx LB Servers
# Chris Akker, Jan 2023
#
apiVersion: v1
kind: Service
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
type: LoadBalancer
externalIPs:
- 10.1.1.4
- 10.1.1.5
ports:
- port: 443
targetPort: 443
protocol: TCP
name: nkl-cluster1-https
selector:
app: nginx-ingress
23 changes: 23 additions & 0 deletions docs/http/loadbalancer-cluster2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# NKL LoadBalancer Service file
# NodePort -ports name must be in the format of
# nkl-<upstream-block-name>
# externalIPs are set to Nginx LB Servers
# Chris Akker, Jan 2023
#
apiVersion: v1
kind: Service
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
type: LoadBalancer
externalIPs:
- 10.1.1.4
- 10.1.1.5
ports:
- port: 443
targetPort: 443
protocol: TCP
name: nkl-cluster2-https
selector:
app: nginx-ingress
27 changes: 27 additions & 0 deletions docs/tcp/loadbalancer-nkl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# NKL LoadBalancer Service file
# NodePort -ports name must be in the format of
# nkl-<upstream-block-name>
# externalIPs are set to Nginx LB Servers
# Chris Akker, Apr 2023
#
apiVersion: v1
kind: Service
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
type: LoadBalancer
externalIPs:
- 10.1.1.4
- 10.1.1.5
ports:
- port: 80
targetPort: 80
protocol: TCP
name: nkl-nginx-lb-http
- port: 443
targetPort: 443
protocol: TCP
name: nkl-nginx-lb-https
selector:
app: nginx-ingress
5 changes: 2 additions & 3 deletions docs/tcp/nodeport-nkl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NKL Nodeport Service file
# NodePort port name must be in the format of
# NodePort -ports name must be in the format of
# nkl-<upstream-block-name>
# Chris Akker, Jan 2023
# Chris Akker, Apr 2023
#
apiVersion: v1
kind: Service
Expand All @@ -21,4 +21,3 @@ spec:
name: nkl-nginx-lb-https
selector:
app: nginx-ingress