kubernetes/cluster/gce/windows
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
..
testonly Merge pull request #74762 from pjh/gce-windows-dump-versions 2019-03-01 01:08:36 -08:00
BUILD upload Windows startup scripts to GCS for CI 2019-02-25 16:44:57 -08:00
common.psm1 Rotate windows logs 2019-03-07 10:42:31 -08:00
configure.ps1 Rotate windows logs 2019-03-07 10:42:31 -08:00
k8s-node-setup.psm1 Windows kubeproxy flags cleanup 2019-03-07 14:45:34 -08:00
node-helper.sh Disable GCE agent address management on Windows nodes. 2019-03-28 17:28:18 -07:00
OWNERS Default to Windows Server version 1809 for Windows nodes. 2019-02-21 09:44:44 -08:00
README-GCE-Windows-kube-up.md Update GCE Windows README steps for running e2e tests. 2019-03-08 13:47:41 -08:00
smoke-test.sh Increase Windows smoke-test timeout to 3 minutes. 2019-02-28 14:22:35 -08:00