Skip to content
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

Add docs for OpenStack LB of the API server #267

Merged
merged 5 commits into from Sep 11, 2019
Merged
Changes from 2 commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -0,0 +1,10 @@
applications:
kubeapi-load-balancer: null
openstack-integrator:
charm: cs:~containers/openstack-integrator
num_units: 1
trust: true
relations:
- ['openstack-integrator', 'kubernetes-master:loadbalancer']
- ['openstack-integrator', 'kubernetes-master:openstack']
- ['openstack-integrator', 'kubernetes-worker:openstack']
@@ -4,5 +4,5 @@ applications:
num_units: 1
trust: true
relations:
- ['openstack-integrator', 'kubernetes-master']
- ['openstack-integrator', 'kubernetes-worker']
- ['openstack-integrator', 'kubernetes-master:openstack']
- ['openstack-integrator', 'kubernetes-worker:openstack']
@@ -36,11 +36,36 @@ applications:
charm: cs:~containers/openstack-integrator
num_units: 1
relations:
- ['openstack-integrator', 'kubernetes-master']
- ['openstack-integrator', 'kubernetes-worker']
```
- ['openstack-integrator', 'kubernetes-master:openstack']
- ['openstack-integrator', 'kubernetes-worker:openstack']
```

If desired, the openstack-integrator can also replace kubeapi-load-balancer and create a native OpenStack
load balancer for the Kubernetes API server, which both reduces the number of machines required and is
HA. To enable this, use this overlay instead ([download it here][asset-openstack-lb-overlay]):

```yaml
applications:
kubeapi-load-balancer: null
openstack-integrator:
charm: cs:~containers/openstack-integrator
num_units: 1
relations:
- ['openstack-integrator', 'kubernetes-master:loadbalancer']
- ['openstack-integrator', 'kubernetes-master:openstack']
- ['openstack-integrator', 'kubernetes-worker:openstack']
```

<div class="p-notification--caution">
<p markdown="1" class="p-notification__response">
<span class="p-notification__status">Note:</span>
If you create load balancers and subsequently tear down the cluster, check with
the OpenStack administration tools to make sure all the associated resources
have also been released.
</p>
</div>

To use this overlay with the **Charmed Kubernetes** bundle, it is specified during deploy like this:
To use the overlay with the **Charmed Kubernetes** bundle, it is specified during deploy like this:
This conversation was marked as resolved by johnsca

This comment has been minimized.

Copy link
@kwmonroe

kwmonroe Sep 10, 2019

Contributor

This feels clumsy. Maybe s/it is specified during deploy/specify it during deploy/?


```bash
juju deploy charmed-kubernetes --overlay ~/path/openstack-overlay.yaml
@@ -224,7 +249,8 @@ juju debug-log --replay --include openstack-integrator/0

<!-- LINKS -->

[asset-openstack-overlay]: https://raw.githubusercontent.com/charmed-kubernetes/kubernetes-docs/master/assets/openstack-overlay.yaml
[asset-openstack-overlay]: https://raw.githubusercontent.com/charmed-kubernetes/bundle/master/overlays/openstack-overlay.yaml
[asset-openstack-lb-overlay]: https://raw.githubusercontent.com/charmed-kubernetes/bundle/master/overlays/openstack-lb-overlay.yaml
[storage]: /kubernetes/docs/storage
[bugs]: https://bugs.launchpad.net/charmed-kubernetes
[openstack-integrator-readme]: https://jujucharms.com/u/containers/openstack-integrator/
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.