Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for podname (0.1 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) {
    	var podName, podNamespace string
    	podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(podflag, ns)
    	if err != nil {
    		return "", "", err
    	}
    	return podName, podNamespace, nil
    }
    
    func setupZtunnelConfigDumpWriter(kubeClient kube.CLIClient, podName, podNamespace string, out io.Writer) (*ztunnelDump.ConfigWriter, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		return err
    	}
    
    	// Check if the workload is running under Kubernetes.
    	podNamespace := string(k8sArgs.K8S_POD_NAMESPACE)
    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    // * the pod, if it is found and ambient is enabled
    func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) {
    	ns := s.namespaces.Get(podNamespace, "")
    	if ns == nil {
    		return nil, fmt.Errorf("failed to find namespace %v", ns)
    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if pod == nil {
    		return nil, fmt.Errorf("failed to find pod %v", ns)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. samples/bookinfo/src/productpage/templates/productpage.html

                    <div class="font-semibold text-gray-900">{{ review.reviewer }}</div>
                    <div class="mt-0.5 text-gray-600 font-mono">Reviews served by: 
                      {{ reviews.podname }}
                      {% if reviews.clustername != "null" %}
                      on cluster <div>{{ reviews.clustername }}</div>
                      {% endif %}
                    </div>
                  </div>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. pkg/security/security.go

    type KubernetesInfo struct {
    	PodName           string
    	PodNamespace      string
    	PodUID            string
    	PodServiceAccount string
    }
    
    func (k KubernetesInfo) String() string {
    	return fmt.Sprintf("Pod{Name: %s, Namespace: %s, UID: %s, ServiceAccount: %s}", k.PodName, k.PodNamespace, k.PodUID, k.PodServiceAccount)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    }
    
    func (s *Server) initNodeUntaintController(args *PilotArgs) {
    	s.addStartFunc("nodeUntainter controller", func(stop <-chan struct{}) error {
    		go leaderelection.
    			NewLeaderElection(args.Namespace, args.PodName, leaderelection.NodeUntaintController, args.Revision, s.kubeClient).
    			AddRunFunction(func(leaderStop <-chan struct{}) {
    				nodeUntainter := untaint.NewNodeUntainter(leaderStop, s.kubeClient, args.CniNamespace, args.Namespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/context.go

    }
    
    func (node *Proxy) GetNodeName() string {
    	if node.Metadata != nil && len(node.Metadata.NodeName) > 0 {
    		return node.Metadata.NodeName
    	}
    	// fall back to get the node name from labels
    	// this can happen for an "old" proxy with no `Metadata.NodeName` set
    	// TODO: remove this when 1.16 is EOL?
    	return node.Labels[label.LabelHostname]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

            {{- else }}
              value: istiod{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}.{{ .Values.global.istioNamespace }}.svc:15012
            {{- end }}
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: POD_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top