This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A Canonical Kubernetes cluster including the monitoring stack. | |
| services: | |
| easyrsa: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '550' | |
| charm: cs:~containers/easyrsa | |
| num_units: 1 | |
| to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A nine-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes. | |
| services: | |
| ceph-mon: | |
| annotations: | |
| gui-x: '600' | |
| gui-y: '300' | |
| charm: cs:ceph-mon | |
| num_units: 3 | |
| to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A nine-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes. | |
| services: | |
| ceph-mon: | |
| annotations: | |
| gui-x: '600' | |
| gui-y: '300' | |
| charm: cs:ceph-mon | |
| num_units: 3 | |
| to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A nine-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes. | |
| services: | |
| easyrsa: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '550' | |
| charm: cs:~containers/easyrsa | |
| num_units: 1 | |
| to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A highly-available, production-grade Kubernetes cluster. | |
| services: | |
| easyrsa: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '550' | |
| charm: cs:~containers/easyrsa-68 | |
| constraints: root-disk=8G cores=1 mem=2G | |
| num_units: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > odel Controller Cloud/Region Version SLA Timestamp | |
| > bionic aws-eu-west-2 aws/eu-west-2 2.4.3 unsupported 15:03:44+01:00 | |
| > | |
| > App Version Status Scale Charm Store Rev OS Notes | |
| > apache2 unknown 1 apache2 jujucharms 26 ubuntu exposed | |
| > aws-integrator 1.15.71 active 1 aws-integrator jujucharms 5 ubuntu | |
| > canal 0.10.0/2.6.10 blocked 5 canal jujucharms 67 ubuntu | |
| > ceph-mon 12.2.4 active 3 ceph-mon jujucharms 27 ubuntu | |
| > ceph-osd 12.2.4 blocked 3 ceph-osd jujucharms 270 ubuntu | |
| > easyrsa error 1 easyrsa jujucharms 68 ubuntu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| odel Controller Cloud/Region Version SLA Timestamp | |
| bionic aws-eu-west-2 aws/eu-west-2 2.4.3 unsupported 15:36:11+01:00 | |
| App Version Status Scale Charm Store Rev OS Notes | |
| apache2 unknown 1 apache2 jujucharms 26 ubuntu exposed | |
| aws-integrator 1.15.71 active 1 aws-integrator jujucharms 5 ubuntu | |
| canal 0.10.0/2.6.10 maintenance 5 canal jujucharms 67 ubuntu | |
| ceph-mon 12.2.4 active 3 ceph-mon jujucharms 27 ubuntu | |
| ceph-osd 12.2.4 blocked 3 ceph-osd jujucharms 270 ubuntu | |
| easyrsa 3.0.1 active 1 easyrsa jujucharms 68 ubuntu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| set -u | |
| ## Variables | |
| set_vars(){ | |
| APT_MIRROR_HOST="mirror" | |
| LXDKVM_SSTREAM_HOST="mirror" | |
| JUJU_SSTREAM_HOST="mirror" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - - 'ceph-mon:osd' | |
| - 'ceph-osd:mon' | |
| - - 'kubernetes-master:ceph-storage' | |
| - 'ceph-mon:admin' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First in kubernetes, check that we have the secret setup for Ceph: | |
| calvin@calvinh-ws:~/Source/canonical-kubernetes-demos/cdk-ceph$ kubectl get secrets | |
| NAME TYPE DATA AGE | |
| ceph-secret kubernetes.io/rbd 1 14m | |
| If this secret does not exist, I can give the steps to create it. Note that this secret needs to be created for every namespace in the cluster you want to use with the Ceph storage. It contains the API key which is used by k8s to interact with Ceph. | |
| It is explained here, however: https://github.com/CanonicalLtd/canonical-kubernetes-demos/tree/master/cdk-ceph |