1
0
mirror of https://github.com/poseidon/typhoon synced 2024-11-17 20:14:02 +01:00

Show os_image coreos-stable on Google Cloud

* Don't need to define a specific dated image. Managed
instance groups do not delete instances when new images
are released to a channel
This commit is contained in:
Dalton Hubble 2018-02-26 22:24:44 -08:00
parent 98985e5acd
commit 06d40c5b44
5 changed files with 7 additions and 7 deletions

@ -57,7 +57,7 @@ module "google-cloud-yavin" {
region = "us-central1"
dns_zone = "example.com"
dns_zone_name = "example-zone"
os_image = "coreos-stable-1576-5-0-v20180105"
os_image = "coreos-stable"
cluster_name = "yavin"
controller_count = 1

@ -18,7 +18,7 @@ kubectl apply -f addons/cluo -R
$ kubectl get nodes --show-labels
...
container-linux-update.v1.coreos.com/group=stable
container-linux-update.v1.coreos.com/version=1576.5.0
container-linux-update.v1.coreos.com/version=1632.3.0
```
`update-operator` ensures one node reboots at a time and that pods are drained prior to reboot.

@ -189,7 +189,7 @@ module "bare-metal-mercury" {
# install
matchbox_http_endpoint = "http://matchbox.example.com"
container_linux_channel = "stable"
container_linux_version = "1576.5.0"
container_linux_version = "1632.3.0"
ssh_authorized_key = "ssh-rsa AAAAB3Nz..."
# cluster
@ -359,7 +359,7 @@ Learn about [maintenance](topics/maintenance.md) and [addons](addons/overview.md
|:-----|:------------|:--------|
| matchbox_http_endpoint | Matchbox HTTP read-only endpoint | http://matchbox.example.com:8080 |
| container_linux_channel | Container Linux channel | stable, beta, alpha |
| container_linux_version | Container Linux version of the kernel/initrd to PXE and the image to install | 1576.5.0 |
| container_linux_version | Container Linux version of the kernel/initrd to PXE and the image to install | 1632.3.0 |
| cluster_name | Cluster name | mercury |
| k8s_domain_name | FQDN resolving to the controller(s) nodes. Workers and kubectl will communicate with this endpoint | "myk8s.example.com" |
| ssh_authorized_key | SSH public key for ~/.ssh/authorized_keys | "ssh-rsa AAAAB3Nz..." |

@ -111,7 +111,7 @@ module "google-cloud-yavin" {
region = "us-central1"
dns_zone = "example.com"
dns_zone_name = "example-zone"
os_image = "coreos-stable-1576-5-0-v20180105"
os_image = "coreos-stable"
cluster_name = "yavin"
controller_count = 1
@ -228,7 +228,7 @@ Learn about [maintenance](topics/maintenance.md) and [addons](addons/overview.md
| dns_zone | Google Cloud DNS zone | "google-cloud.example.com" |
| dns_zone_name | Google Cloud DNS zone name | "example-zone" |
| ssh_authorized_key | SSH public key for ~/.ssh_authorized_keys | "ssh-rsa AAAAB3NZ..." |
| os_image | OS image for compute instances | "coreos-stable-1576-5-0-v20180105" |
| os_image | OS image for compute instances | "coreos-stable" |
| asset_dir | Path to a directory where generated assets should be placed (contains secrets) | "/home/user/.secrets/clusters/yavin" |
Check the list of valid [regions](https://cloud.google.com/compute/docs/regions-zones/regions-zones) and list Container Linux [images](https://cloud.google.com/compute/docs/images) with `gcloud compute images list | grep coreos`.

@ -57,7 +57,7 @@ module "google-cloud-yavin" {
region = "us-central1"
dns_zone = "example.com"
dns_zone_name = "example-zone"
os_image = "coreos-stable-1576-5-0-v20180105"
os_image = "coreos-stable"
cluster_name = "yavin"
controller_count = 1