Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PodAdded (0.52 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    )
    
    var ztunnelConnected = monitoring.NewGauge("ztunnel_connected",
    	"number of connections to ztunnel")
    
    type ZtunnelServer interface {
    	Run(ctx context.Context)
    	PodDeleted(ctx context.Context, uid string) error
    	PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error
    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    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)
  2. cni/pkg/nodeagent/net.go

    		return NewErrPartialAdd(err)
    	}
    	return nil
    }
    
    func (s *NetServer) sendPodToZtunnelAndWaitForAck(ctx context.Context, pod *corev1.Pod, netns Netns) error {
    	return s.ztunnelServer.PodAdded(ctx, pod, netns)
    }
    
    // ConstructInitialSnapshot takes a "snapshot" of current ambient pods and
    //
    // 1. Constructs a ztunnel state message to initialize ztunnel
    // 2. Syncs the host ipset
    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)
Back to top