diff --git a/prepare-vms/lib/infra/aws.sh b/prepare-vms/lib/infra/aws.sh index cb5f8fd0..f7721003 100644 --- a/prepare-vms/lib/infra/aws.sh +++ b/prepare-vms/lib/infra/aws.sh @@ -31,6 +31,7 @@ infra_start() { die "I could not find which AMI to use in this region. Try another region?" fi AWS_KEY_NAME=$(make_key_name) + AWS_INSTANCE_TYPE=${AWS_INSTANCE_TYPE-t3a.medium} sep "Starting instances" info " Count: $COUNT" @@ -38,10 +39,11 @@ infra_start() { info " Token/tag: $TAG" info " AMI: $AMI" info " Key name: $AWS_KEY_NAME" + info " Instance type: $AWS_INSTANCE_TYPE" result=$(aws ec2 run-instances \ --key-name $AWS_KEY_NAME \ --count $COUNT \ - --instance-type ${AWS_INSTANCE_TYPE-t2.medium} \ + --instance-type $AWS_INSTANCE_TYPE \ --client-token $TAG \ --block-device-mapping 'DeviceName=/dev/sda1,Ebs={VolumeSize=20}' \ --image-id $AMI) @@ -97,7 +99,7 @@ infra_disableaddrchecks() { } wait_until_tag_is_running() { - max_retry=50 + max_retry=100 i=0 done_count=0 while [[ $done_count -lt $COUNT ]]; do diff --git a/prepare-vms/setup-admin-clusters.sh b/prepare-vms/setup-admin-clusters.sh index a4719d7a..75717e52 100755 --- a/prepare-vms/setup-admin-clusters.sh +++ b/prepare-vms/setup-admin-clusters.sh @@ -30,9 +30,9 @@ TAG=$PREFIX-$SETTINGS --settings settings/$SETTINGS.yaml \ --count $((3*$STUDENTS)) +./workshopctl disableaddrchecks $TAG ./workshopctl deploy $TAG ./workshopctl kubebins $TAG -./workshopctl disableaddrchecks $TAG ./workshopctl cards $TAG SETTINGS=admin-kuberouter @@ -43,11 +43,15 @@ TAG=$PREFIX-$SETTINGS --settings settings/$SETTINGS.yaml \ --count $((3*$STUDENTS)) +./workshopctl disableaddrchecks $TAG ./workshopctl deploy $TAG ./workshopctl kubebins $TAG -./workshopctl disableaddrchecks $TAG ./workshopctl cards $TAG +#INFRA=infra/aws-us-west-1 + +export AWS_INSTANCE_TYPE=t3a.medium + SETTINGS=admin-test TAG=$PREFIX-$SETTINGS ./workshopctl start \ @@ -59,3 +63,4 @@ TAG=$PREFIX-$SETTINGS ./workshopctl deploy $TAG ./workshopctl kube $TAG 1.13.5 ./workshopctl cards $TAG + diff --git a/slides/index.yaml b/slides/index.yaml index 668fdbe2..3a9b8517 100644 --- a/slides/index.yaml +++ b/slides/index.yaml @@ -1,3 +1,11 @@ +- date: [2019-11-04, 2019-11-05] + country: de + city: Berlin + event: Velocity + speaker: jpetazzo + title: Deploying and scaling applications with Kubernetes + attend: https://conferences.oreilly.com/velocity/vl-eu/public/schedule/detail/79109 + - date: 2019-11-13 country: fr city: Marseille diff --git a/slides/k8s/versions-k8s.md b/slides/k8s/versions-k8s.md index 937ccb02..b12c45af 100644 --- a/slides/k8s/versions-k8s.md +++ b/slides/k8s/versions-k8s.md @@ -1,6 +1,6 @@ ## Versions installed -- Kubernetes 1.14.2 +- Kubernetes 1.15.0 - Docker Engine 18.09.6 - Docker Compose 1.21.1 @@ -23,7 +23,7 @@ class: extra-details ## Kubernetes and Docker compatibility -- Kubernetes 1.14 validates Docker Engine versions [up to 18.09](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#external-dependencies) +- Kubernetes 1.15 validates Docker Engine versions [up to 18.09](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.15.md#dependencies)
(the latest version when Kubernetes 1.14 was released)