1. 09 Apr, 2019 8 commits
  2. 05 Apr, 2019 13 commits
  3. 04 Apr, 2019 11 commits
  4. 03 Apr, 2019 3 commits
    • Tom Wanielista's avatar
      Avoid panic in cronjob sorting · ae13b88a
      Tom Wanielista authored
      This change handles the case where the ith cronjob may have its start
      time set to nil.
      
      Previously, the Less method could cause a panic in case the ith
      cronjob had its start time set to nil, but the jth cronjob did not. It
      would panic when calling Before on a nil StartTime.
      ae13b88a
    • John Schnake's avatar
      Finish saving test results on failure · c6bb01d2
      John Schnake authored
      The conformance image should be saving its results
      regardless of the results of the tests. However,
      with errexit set, when ginkgo gets test failures
      it exits 1 which prevents saving the results
      for Sonobuoy to pick up.
      
      Fixes: #76036
      c6bb01d2
    • Yu-Ju Hong's avatar
      GCE/Windows: disable stackdriver logging agent · 61ac8e3e
      Yu-Ju Hong authored
      The logging service could not be stopped at times, causing node startup
      failures. Disable it until the issue is fixed.
      61ac8e3e
  5. 02 Apr, 2019 3 commits
  6. 29 Mar, 2019 2 commits
    • Peter Hornyack's avatar
      Disable GCE agent address management on Windows nodes. · 0b7e042e
      Peter Hornyack authored
      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>
      0b7e042e
    • Lubomir I. Ivanov's avatar
      kubeadm: fix "upgrade plan" not working without k8s version · 275a7481
      Lubomir I. Ivanov authored
      If the k8s version argument passed to "upgrade plan" is missing
      the logic should perform the following actions:
      - fetch a "stable" version from the internet.
      - if that fails, fallback to the local client version.
      
      Currentely the logic fails because the cfg.KubernetesVersion is
      defaulted to the version of the existing cluster, which
      then causes an early exit without any ugprade suggestions.
      
      See app/cmd/upgrade/common.go::enforceRequirements():
        configutil.FetchInitConfigurationFromCluster(..)
      
      Fix that by passing the explicit user value that can also be "".
      This will then make the "offline getter" treat it as an explicit
      desired upgrade target.
      
      In the future it might be best to invert this logic:
      - if no user k8s version argument is passed - default to the kubeadm
      version.
      - if labels are passed (e.g. "stable"), fetch a version from the
      internet.
      275a7481