...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
kind: ConfigMap apiVersion: v1 metadata: name: octavia-ingress-controller-config namespace: kube-system data: config: | cluster-name: <cluster_name> openstack: # domain-name: <domain_name> # Choose between domain-name or domain-id (do not use together) domain-id: <domain_id> username: <username> # user-id: <user_id> # Choose between user-id or username (do not use together) password: <user_id> project-id: <project_id> auth-url: <auth_url> region: <region> octavia: subnet-id: <subnet_id> floating-network-id: <public_net_id> manage-security-groups: <boolean_value> # If true, creates automatically SecurityGroup |
Info | ||
---|---|---|
| ||
It's advisable to create a service account associated to your project, if the is shared with other users, and use the credentials of this account. To get a service account you need to ask the Cloud@CNAF administrators. However, for testing purposes, for the moment you can use your personal credentials (username/password). |
Let's see how to fill the placeholders in the configuration file, going to retrieve the information from the Horizon dashboard:
- domain-name, domain-id, username, user-id, password: all this information (except the password) can be found in the Identity/Users tab, by selecting the desired user.
- project-id, auth-url: go to the Project/API Access tab and click the button View Credentials.
- region: the region is present at the top left, next to the OpenStack logo.
- subnet-id, floating-network-id: go to the Project/Network/Networks tab. Retrieve the ID of the public network and the sub-network (be careful not to get confused with the network ID).
- manage-security-group: for the moment we insert false (default value). Later we will explain what this key is for.
...
title | Advice |
---|
...
- .
Deploy octavia-ingress-controller
...