View gist:f7bf9602c8b1fe94a915535943a8bfbf
This file contains 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
2020/04/15 21:28:04 http2: panic serving 10.138.0.16:37534: reflect: call of reflect.Value.IsNil on struct Value | |
goroutine 1562346 [running]: | |
net/http.(*http2serverConn).runHandler.func1(0xc000b58c98, 0xc0008c5f67, 0xc0008b9b00) | |
/usr/local/go/src/net/http/h2_bundle.go:5706 +0x16b | |
panic(0x17f0640, 0xc000bcab00) | |
/usr/local/go/src/runtime/panic.go:679 +0x1b2 | |
reflect.Value.IsNil(...) | |
/usr/local/go/src/reflect/value.go:1073 | |
k8s.io/apimachinery/pkg/conversion.(*Converter).defaultConvert(0xc0000753e0, 0x18b67a0, 0xc0010b05a0, 0x199, 0x1808c60, 0xc00007f4c0, 0x194, 0xc000c43310, 0x0, 0x0) | |
/go/src/github.com/open-policy-agent/gatekeeper/vendor/k8s.io/apimachinery/pkg/conversion/converter.go:672 +0x1f04 |
View bootstrap_dcos.sh
This file contains 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
#!/bin/sh | |
# Note: this only works for OSS DC/OS >= 1.13 | |
# <generate your Terraform configuration for the Installer> | |
terraform init | |
terraform apply -auto-approve -input=false | |
master_ip="$(terraform output -json | jq -r '.["masters-ips"].value[0]')" |