Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for bagian (0.15 sec)

  1. cni/pkg/nodeagent/net.go

    	// in that case, try finding the netns using procfs.
    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. istioctl/pkg/multixds/gather.go

    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    		if _, ok := err.(ControlPlaneNotFoundError); ok {
    			// Attempt to get the XDS address from the webhook and try again
    			addr, err := getXdsAddressFromWebhooks(kubeClient)
    			if err == nil {
    				centralOpts.Xds = addr.host
    				centralOpts.GCPProject = addr.gcpProject
    				centralOpts.IstiodAddr = addr.istiod
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    	if err != nil {
    		l.LogAndFatal(err)
    	}
    	if oiArgs.common.revision == "default" {
    		oiArgs.common.revision = ""
    	}
    	// Error here likely indicates Deployment is missing. If some other K8s error, we will hit it again later.
    	already, _ := isControllerInstalled(kubeClient.Kube(), oiArgs.common.operatorNamespace, oiArgs.common.revision)
    	if already {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    	when a new ztunnel connects with different uid, only propagate deletes to older ztunnels.
    */
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables.go

    		{"-t", iptablesconstants.NAT, "-D", iptablesconstants.POSTROUTING, "-j", ChainHostPostrouting},
    		// flush-then-delete our created chains
    		// these sometimes fail due to "Device or resource busy" - again NBD.
    		{"-t", iptablesconstants.NAT, "-F", ChainHostPostrouting},
    		{"-t", iptablesconstants.NAT, "-X", ChainHostPostrouting},
    	}
    
    	// iptablei seems like a reasonable pluralization of iptables
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/util.go

    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    // old version and then later decides to switch back to the old revision again.
    func DeactivateIstioInjectionWebhook(ctx context.Context, client kubernetes.Interface) error {
    	whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  7. cni/pkg/install/install.go

    		// We had a watch error - that's no good
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    		// Valid configuration; set isReady to true and wait for modifications before checking again
    		setReady(in.isReady)
    		cniInstalls.With(resultLabel.Value(resultSuccess)).Increment()
    		// Pod set to "NotReady" before termination
    		return watcher.Wait(ctx)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher.go

    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    	retries := 0
    	var ambientPod *corev1.Pod
    	var err error
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top