Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for kubeutil (0.13 sec)

  1. pkg/kubelet/prober/prober_manager.go

    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/prober/results"
    	"k8s.io/kubernetes/pkg/kubelet/status"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    	kubeutil "k8s.io/kubernetes/pkg/kubelet/util"
    	"k8s.io/utils/clock"
    )
    
    // ProberResults stores the cumulative number of a probe by result as prometheus metrics.
    var ProberResults = metrics.NewCounterVec(
    	&metrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	"istio.io/istio/pilot/pkg/model"
    	labelutil "istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/config/schema/kind"
    	kubeutil "istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/krt"
    	kubelabels "istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/workloadapi"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pkg/kubelet/status/status_manager.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	"k8s.io/kubernetes/pkg/kubelet/status/state"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    	kubeutil "k8s.io/kubernetes/pkg/kubelet/util"
    	statusutil "k8s.io/kubernetes/pkg/util/pod"
    )
    
    // podStatusManagerStateFile is the file name where status manager stores its state
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  4. cluster/gce/windows/smoke-test.sh

    #     (user=kube-apiserver, verb=create, resource=nodes, subresource=proxy)"
    
    # Override this to use a different kubectl binary.
    kubectl=kubectl
    linux_deployment_timeout=60
    windows_deployment_timeout=600
    output_file=/tmp/k8s-smoke-test.out
    
    function check_windows_nodes_are_ready {
      # kubectl filtering is the worst.
      statuses=$(${kubectl} get nodes -l kubernetes.io/os=windows \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. hack/lib/test.sh

    kube::test::clear_all() {
      if kube::test::if_supports_resource "rc" ; then
        # shellcheck disable=SC2154
        # Disabling because "kube_flags" is set in a parent script
        kubectl delete "${kube_flags[@]}" rc --all --grace-period=0 --force
      fi
      if kube::test::if_supports_resource "pods" ; then
        kubectl delete "${kube_flags[@]}" pods --all --grace-period=0 --force
      fi
    }
    
    # Prints the calling file and line number $1 levels deep
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 16:46:34 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  6. cluster/common.sh

      fi
    
      local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
      # Unset the current-context before we delete it, as otherwise kubectl errors.
      local cc
      cc=$("${kubectl}" config view -o jsonpath='{.current-context}')
      if [[ "${cc}" == "${CONTEXT}" ]]; then
        "${kubectl}" config unset current-context
      fi
      "${kubectl}" config unset "clusters.${CONTEXT}"
      "${kubectl}" config unset "users.${CONTEXT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 15:36:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  7. cluster/addons/addon-manager/kube-addons.sh

    # 2. Logging doesn't work from files that print things out.
    # 3. Kubectl prints the output to stderr (the output should be captured and then
    #    logged)
    
    KUBECTL=${KUBECTL_BIN:-/usr/local/bin/kubectl}
    KUBECTL_OPTS=${KUBECTL_OPTS:-}
    # KUBECTL_PRUNE_WHITELIST is a list of resources whitelisted by default.
    # This is currently the same with the default in:
    # https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/apply/prune.go.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 05:40:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

    			),
    		},
    		{
    			fieldManager: "kubectl",
    			original: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 3
    `),
    			applied: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 100 # update replicas
    `),
    		},
    		{
    			fieldManager: "kubectl",
    			lastApplied: []byte(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  9. common/scripts/kind_provisioner.sh

        C1_POD_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}')
        C2_POD_CIDR=$(KUBECONFIG="${C2_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}')
        C1_SVC_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl cluster-info dump | sed -n 's/^.*--service-cluster-ip-range=\([^"]*\).*$/\1/p' | head -n 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 19:12:55 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cluster/gce/upgrade.sh

      local -r endtime=$(date -ud "3 minute" +%s)
      until [[ $("${KUBE_ROOT}"/cluster/kubectl.sh -n kube-system get deployment coredns -o=jsonpath='{$.metadata.resourceVersion}') -ne ${COREDNS_DEPLOY_RESOURCE_VERSION} ]] || [[ $(date -u +%s) -gt $endtime ]]; do
         sleep 1
      done
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top