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

View File

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

View File

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

View File

@ -189,7 +189,7 @@ module "bare-metal-mercury" {
# install # install
matchbox_http_endpoint = "http://matchbox.example.com" matchbox_http_endpoint = "http://matchbox.example.com"
container_linux_channel = "stable" container_linux_channel = "stable"
container_linux_version = "1576.5.0" container_linux_version = "1632.3.0"
ssh_authorized_key = "ssh-rsa AAAAB3Nz..." ssh_authorized_key = "ssh-rsa AAAAB3Nz..."
# cluster # 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 | | matchbox_http_endpoint | Matchbox HTTP read-only endpoint | http://matchbox.example.com:8080 |
| container_linux_channel | Container Linux channel | stable, beta, alpha | | 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 | | 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" | | 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..." | | ssh_authorized_key | SSH public key for ~/.ssh/authorized_keys | "ssh-rsa AAAAB3Nz..." |

View File

@ -111,7 +111,7 @@ module "google-cloud-yavin" {
region = "us-central1" region = "us-central1"
dns_zone = "example.com" dns_zone = "example.com"
dns_zone_name = "example-zone" dns_zone_name = "example-zone"
os_image = "coreos-stable-1576-5-0-v20180105" os_image = "coreos-stable"
cluster_name = "yavin" cluster_name = "yavin"
controller_count = 1 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 | Google Cloud DNS zone | "google-cloud.example.com" |
| dns_zone_name | Google Cloud DNS zone name | "example-zone" | | dns_zone_name | Google Cloud DNS zone name | "example-zone" |
| ssh_authorized_key | SSH public key for ~/.ssh_authorized_keys | "ssh-rsa AAAAB3NZ..." | | 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" | | 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`. 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`.

View File

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