Peter Hornyack
1814b0c495
Disable GCE agent address management on Windows nodes.
With this metadata key set, "GCEWindowsAgent: GCE address manager
status: disabled" will appear in the VM's serial port output during
boot.
Tested:
PROJECT=${CLOUDSDK_CORE_PROJECT} KUBE_GCE_ENABLE_IP_ALIASES=true NUM_WINDOWS_NODES=2 NUM_NODES=2 KUBERNETES_NODE_PLATFORM=windows go run ./hack/e2e.go -- --up
cluster/gce/windows/smoke-test.sh
cat > iis.yaml <<EOF
apiVersion: v1
kind: Pod
metadata:
name: iis
labels:
app: iis
spec:
containers:
- image: mcr.microsoft.com/windows/servercore/iis
imagePullPolicy: IfNotPresent
name: iis-server
ports:
- containerPort: 80
protocol: TCP
nodeSelector:
beta.kubernetes.io/os: windows
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/os
operator: Equal
value: windows1809
EOF
kubectl create -f iis.yaml
kubectl expose pod iis --type=LoadBalancer --name=iis
kubectl get services
curl http://<service external IP address>
2019-03-28 17:28:18 -07:00
..
2019-02-12 17:55:10 -08:00
2019-03-19 11:06:22 -07:00
2019-03-19 16:15:20 +01:00
2019-03-28 17:28:18 -07:00
2019-02-25 16:44:57 -08:00
2019-01-30 19:49:07 -08:00
2019-03-15 13:36:30 -07:00
2019-03-15 13:36:30 -07:00
2017-03-15 15:31:51 -07:00
2018-01-05 15:36:53 -08:00
2019-02-18 00:42:46 -05:00
2018-04-19 13:20:13 +02:00
2019-02-04 22:33:12 +01:00
2017-04-25 16:19:00 -07:00
2018-12-03 11:03:49 -08:00
2019-02-26 18:12:09 -08:00
2019-03-15 13:36:30 -07:00