Skip to content

Commit f6a349c

Browse files
committed
cleaning Octavia and IPs
1 parent 3c0e44c commit f6a349c

File tree

19 files changed

+34
-41
lines changed

19 files changed

+34
-41
lines changed

.DS_Store

2 KB
Binary file not shown.

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/basic_lb/lb_base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: octavia-basic
4+
name: publicCloudLB-basic
55
labels:
6-
app: test-octavia
6+
app: test-publicCloudLB
77
spec:
88
ports:
99
- name: client

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/basic_lb_keepip/lb_keepip.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: octavia-keepip
4+
name: publicCloudLB-keepip
55
annotations:
6-
loadbalancer.ovhcloud.com/class: "octavia"
76
loadbalancer.openstack.org/keep-floatingip: "true" # Once the IP has been created with this flag, K8S cluster will not manage his deletion / Can be set AFTER the creation
87
labels:
9-
app: test-octavia
8+
app: test-publicCloudLB
109
spec:
1110
ports:
1211
- name: client

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/basic_lb_keepip/lb_keepip_reuse_or_already_existing_in_tenant.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: octavia-keepip-with-existing-ip
5-
annotations:
6-
loadbalancer.ovhcloud.com/class: "octavia"
4+
name: publicCloudLB-keepip-with-existing-ip
75
labels:
8-
app: test-octavia
6+
app: test-publicCloudLB
97
spec:
108
loadBalancerIP: xx.xx.xx.xx # Public Floating IP you want to use. This annontation is deprecated since K8S 1.24 but still used
119
ports:

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/basic_lb_udp_tcp/lb_tcp_udp.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: octavia-udp-tcp
5-
annotations:
6-
loadbalancer.ovhcloud.com/class: "octavia"
4+
name: publicCloudLB-udp-tcp
75
labels:
8-
app: test-octavia
6+
app: test-publicCloudLB
97
spec:
108
ports:
119
- name: client

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/basic_lb_with_flavor/lb_flavor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: octavia-medium
4+
name: publicCloudLB-medium
55
annotations:
66
loadbalancer.ovhcloud.com/flavor: "medium"
77
labels:
8-
app: test-octavia
8+
app: test-publicCloudLB
99
spec:
1010
ports:
1111
- name: client

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/nginx_ingress/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The Ingress Controller enables you to expose your HTTP(S) applications running i
5050
ingress:
5151
class: nginx
5252
```
53-
53+
5454
To do so, apply it using:
5555
```bash
5656
kubectl apply -f acme-config.yml
@@ -92,7 +92,7 @@ kubectl get svc ingress-nginx-controller -n ingress-nginx
9292
tls:
9393
- hosts:
9494
- myapp.example.com
95-
secretName: octavia-secret
95+
secretName: publicCloudLB-secret
9696
rules:
9797
- host: myapp.example.com
9898
http:

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/nginx_ingress/acme-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
# The ACME server URL
88
server: https://acme-v02.api.letsencrypt.org/directory
99
# Email address used for ACME registration
10-
10+
1111
# Name of a secret used to store the ACME account private key
1212
privateKeySecretRef:
1313
name: letsencrypt-prod
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
cd "$(dirname "$0")"
3-
helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace --values ./value.yaml
3+
helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace --values ./value.yaml

containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer/nginx_ingress/ingress_base.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ spec:
88
ingressClassName: nginx
99
tls:
1010
- hosts:
11-
- octavia.lgr-k8s.ovh
12-
secretName: octavia-secret
11+
- myapp.example.com
12+
secretName: publicCloudLB-secret
1313
rules:
14-
- host: octavia.lgr-k8s.ovh
14+
- host: myapp.example.com
1515
http:
1616
paths:
1717
- path: /

0 commit comments

Comments
 (0)