Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for store (0.13 sec)

  1. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("error starting cni server: %w", err)
    	}
    	s.cniServerStopFunc = cniServer.Stop
    
    	return s, nil
    }
    
    func (s *Server) Ready() {
    	s.isReady.Store(true)
    }
    
    func (s *Server) NotReady() {
    	s.isReady.Store(false)
    }
    
    // buildKubeClient creates the kube client
    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    			cfg := &config.InstallConfig{
    				MountedCNINetDir: cniNetDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    				CNIBinTargetDirs: []string{cniBinDir},
    			}
    
    			isReady := &atomic.Value{}
    			isReady.Store(false)
    			installer := NewInstaller(cfg, isReady)
    			installer.cniConfigFilepath = cniConfigFilePath
    			installer.kubeconfigFilepath = kubeConfigFilePath
    			err := installer.Cleanup()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/healthServer_test.go

    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusOK)
    
    	watchReady.Store(false)
    	assert.Equal(t, watchReady.Load(), false)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. architecture/networking/pilot.md

            sesd--Join-->asd
            msd--Join-->asd
            ksd<--"Data Sharing"-->sesd
        end
        subgraph ConfigStore
            ccs("CRD Client")
            xcs("XDS Store")
            fcs("File Store")
            mcs("Memory Store")
            acs("Aggregate")
            ccs--Join-->acs
            xcs--Join-->acs
            fcs--Join-->acs
            mcs--Join-->acs
        end
        subgraph VMs
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache_test.go

    	i := 0
    	return func(s string) (NetnsCloser, error) {
    		inode := inodes[i]
    		i++
    		return newFakeNsInode(inc(), inode), nil
    	}
    }
    
    func TestUpsertPodCache(t *testing.T) {
    	counter.Store(0)
    
    	p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1))
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	nspath1 := "/path/to/netns/1"
    	nspath2 := "/path/to/netns/2"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    	}
    	return nil
    }
    
    // Sets isReady to true.
    func setReady(isReady *atomic.Value) {
    	installReady.Record(1)
    	isReady.Store(true)
    }
    
    // Sets isReady to false.
    func setNotReady(isReady *atomic.Value) {
    	installReady.Record(0)
    	isReady.Store(false)
    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)
  7. cni/pkg/nodeagent/healthServer.go

    	}()
    
    	return
    }
    
    func initRouter(router *http.ServeMux) (installReady *atomic.Value, watchReady *atomic.Value) {
    	installReady = &atomic.Value{}
    	watchReady = &atomic.Value{}
    	installReady.Store(false)
    	watchReady.Store(false)
    
    	router.HandleFunc(constants.LivenessEndpoint, healthz)
    	router.HandleFunc(constants.ReadinessEndpoint, readyz(installReady, watchReady))
    
    	return
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // parameters that will be used by the driver when allocating a
      // resource that uses this class. A dynamic resource driver can
      // distinguish between parameters stored here and and those stored in
      // ResourceClaimSpec.
      // +optional
      optional ResourceClassParametersReference parametersRef = 3;
    
      // Only nodes matching the selector will be considered by the scheduler
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
      // +optional
      map<string, string> labels = 11;
    
      // Annotations is an unstructured key value map stored with a resource that may be
      // set by external tools to store and retrieve arbitrary metadata. They are not
      // queryable and should be preserved when modifying objects.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. manifests/charts/README.md

                --set global.istioNamespace=istio-master
    ```
    
    ### Gateways
    
    A cluster may use multiple Gateways, each with a different load balancer IP, domains and certificates.
    
    Since the domain certificates are stored in the gateway namespace, it is recommended to keep each
    gateway in a dedicated namespace and restrict access.
    
    For large-scale gateways it is optionally possible to use a dedicated pilot in the gateway namespace.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top