- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for cloudConfig (0.33 sec)
-
pkg/kubeapiserver/admission/initializer_test.go
type WantsCloudConfigAdmissionPlugin struct { doNothingAdmission cloudConfig []byte } func (p *WantsCloudConfigAdmissionPlugin) SetCloudConfig(cloudConfig []byte) { p.cloudConfig = cloudConfig } func TestCloudConfigAdmissionPlugin(t *testing.T) { cloudConfig := []byte("cloud-configuration") initializer := NewPluginInitializer(cloudConfig) wantsCloudConfigAdmission := &WantsCloudConfigAdmissionPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer.go
func NewPluginInitializer(cloudConfig []byte) *PluginInitializer { return &PluginInitializer{ cloudConfig: cloudConfig, } } // Initialize checks the initialization interfaces implemented by each plugin // and provide the appropriate initialization data func (i *PluginInitializer) Initialize(plugin admission.Interface) { if wants, ok := plugin.(WantsCloudConfig); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/kubeapiserver/admission/config.go
func (c *Config) New() ([]admission.PluginInitializer, error) { var cloudConfig []byte if c.CloudConfigFile != "" { var err error cloudConfig, err = os.ReadFile(c.CloudConfigFile) if err != nil { klog.Fatalf("Error reading from cloud configuration file %s: %#v", c.CloudConfigFile, err) } } return []admission.PluginInitializer{NewPluginInitializer(cloudConfig)}, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.2K bytes - Viewed (0) -
cluster/gce/manifests/glbc.manifest
periodSeconds: 30 timeoutSeconds: 15 successThreshold: 1 failureThreshold: 5 name: l7-lb-controller volumeMounts: - mountPath: /etc/gce.conf name: cloudconfig readOnly: true - mountPath: /var/log/glbc.log name: logfile readOnly: false - mountPath: /etc/srv/kubernetes/l7-lb-controller name: srvkube readOnly: true resources:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 10:40:01 UTC 2023 - 2.8K bytes - Viewed (0) -
cmd/cloud-controller-manager/main.go
os.Exit(code) } func cloudInitializer(config *cloudcontrollerconfig.CompletedConfig) cloudprovider.Interface { cloudConfig := config.ComponentConfig.KubeCloudShared.CloudProvider // initialize cloud provider with the cloud provider name and config file provided cloud, err := cloudprovider.InitCloudProvider(cloudConfig.Name, cloudConfig.CloudConfigFile) if err != nil { klog.Fatalf("Cloud provider could not be initialized: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 19 13:01:01 UTC 2023 - 4.4K bytes - Viewed (0) -
hack/ginkgo-e2e.sh
GINKGO_FORCE_NEWLINES=${GINKGO_FORCE_NEWLINES:-$( if [ "${CI:-false}" = "true" ]; then echo "y"; else echo "n"; fi )} # set to 'y' to print a newline after each S or o character CLOUD_CONFIG=${CLOUD_CONFIG:-""} # If 'y', Ginkgo's reporter will not use escape sequence to color output. # # Since Kubernetes 1.25, the default is to use colors only when connected to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 13:25:50 UTC 2024 - 8.6K bytes - Viewed (0) -
hack/local-up-cluster.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0)