Skip to content

update storage-class and default lb timeouts #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ plusserver stellt die folgenden StorageClasses für "plusserver Kubernetes Engin

```bash
kubectl get storageclasses
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION
csi-cinder-sc-delete (default) cinder.csi.openstack.org Delete Immediate true
csi-cinder-sc-retain cinder.csi.openstack.org Retain Immediate true
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION
default (default) cinder.csi.openstack.org Delete WaitForFirstConsumer true
default-class cinder.csi.openstack.org Delete WaitForFirstConsumer true
encrypted cinder.csi.openstack.org Delete Immediate false
csi-cinder-sc-retain cinder.csi.openstack.org Retain Immediate true
```

- **csi-cinder-sc-delete** ist die Standard StorageClass und wird verwendet, wenn im PersistentVolumeClaim keine explizite StorageClass angegeben ist.
- **default (default)** ist die Standard StorageClass und wird verwendet, wenn im PersistentVolumeClaim keine explizite StorageClass angegeben ist.

## Provisioner

Expand Down Expand Up @@ -61,4 +63,4 @@ metadata:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: cinder.csi.openstack.org
reclaimPolicy: Retain
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,21 @@ spec:

## Freigabe von FloatingIPs, welche nicht mehr bekannt sind

Wenn Sie nicht mehr wissen, welche Floating-IPs Sie aktuell nutzen, öffnen Sie bitte ein Support-Ticket in Ihrem Kundenportal.
Wenn Sie nicht mehr wissen, welche Floating-IPs Sie aktuell nutzen, öffnen Sie bitte ein Support-Ticket in Ihrem Kundenportal.

## Anpassung der LoadBalancer Default-Timeouts

Der Default-Timeout für OpenStack LoadBalancer liegt bei 30 Sekunden und kann über folgende Annotationen angepasst werden:

```yaml
metadata:
annotations:
loadbalancer.openstack.org/timeout-client-data: "70000"
loadbalancer.openstack.org/timeout-member-data: "70000"
```

Erklärung der Parameter:
- timeout-client-data: Legt fest, wie lange der Loadbalancer auf Daten vom Client wartet (in Millisekunden).
- timeout-member-data: Legt fest, wie lange der Loadbalancer auf Daten vom Backend (Member) wartet (ebenfalls in Millisekunden).

Weitere Konfigurationsmöglichkeiten sind in der offiziellen Dokumentation unter diesem [Link](https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/openstack-cloud-controller-manager/expose-applications-using-loadbalancer-type-service.md#service-annotations) zu finden.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ plusserver provides the following StorageClasses for your PSKE:

```bash
kubectl get storageclasses
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION
csi-cinder-sc-delete (default) cinder.csi.openstack.org Delete Immediate true
csi-cinder-sc-retain cinder.csi.openstack.org Retain Immediate true
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION
default (default) cinder.csi.openstack.org Delete WaitForFirstConsumer true
default-class cinder.csi.openstack.org Delete WaitForFirstConsumer true
encrypted cinder.csi.openstack.org Delete Immediate false
csi-cinder-sc-retain cinder.csi.openstack.org Retain Immediate true
```

- **csi-cinder-sc-delete** is the default StorageClass and is used if no explicit StorageClass is specified in the PersistentVolumeClaim.
- **default (default)** is the default StorageClass and is used if no explicit StorageClass is specified in the PersistentVolumeClaim.

## Provisioner

Expand Down Expand Up @@ -61,4 +63,4 @@ metadata:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: cinder.csi.openstack.org
reclaimPolicy: Retain
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,20 @@ spec:
## Release of FloatingIPs which are no longer known

If you don't know which floating IPs you are currently using, you may open a support ticket in your customer panel.

## Adjusting LoadBalancer Default Timeouts

The default timeout for OpenStack LoadBalancers is 30 seconds and can be adjusted using the following annotations:

```yaml
metadata:
annotations:
loadbalancer.openstack.org/timeout-client-data: "70000"
loadbalancer.openstack.org/timeout-member-data: "70000"
```

Explanation of the parameters:
- timeout-client-data: Defines how long the LoadBalancer waits for data from the client (in milliseconds).
- timeout-member-data: Defines how long the LoadBalancer waits for data from the backend (member) (also in milliseconds).

Further configuration options can be found in the official documentation at this [link](https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/openstack-cloud-controller-manager/expose-applications-using-loadbalancer-type-service.md#service-annotations).