Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CloudCIDRAllocatorMismatch (0.43 sec)

  1. pkg/controller/nodeipam/ipam/sync/sync_test.go

    		},
    		{
    			desc:   "validate range !=",
    			mode:   SyncFromCloud,
    			node:   nodeWithCIDRRange,
    			fake:   fakeAPIs{aliasRange: test.MustParseCIDR("192.168.0.0/24")},
    			events: []fakeEvent{{"node1", "CloudCIDRAllocatorMismatch"}},
    		},
    		{
    			desc:      "update alias from node",
    			mode:      SyncFromCloud,
    			node:      nodeWithCIDRRange,
    			events:    []fakeEvent{{"node1", "CloudCIDRAllocatorInvalidMode"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/sync/sync.go

    	InvalidModeEvent = "CloudCIDRAllocatorInvalidMode"
    	// MismatchEvent is the event recorded when the CIDR range allocated in the
    	// node spec does not match what has been allocated in the cloud.
    	MismatchEvent = "CloudCIDRAllocatorMismatch"
    )
    
    // cloudAlias is the interface to the cloud platform APIs.
    type cloudAlias interface {
    	// Alias returns the IP alias for the node.
    	Alias(ctx context.Context, node *v1.Node) (*net.IPNet, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top