Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for CacheTTL (0.18 sec)

  1. pkg/kubeapiserver/options/authentication.go

    		ret.WebhookTokenAuthnCacheTTL = o.WebHook.CacheTTL
    		ret.WebhookRetryBackoff = o.WebHook.RetryBackoff
    
    		if len(o.WebHook.ConfigFile) > 0 && o.WebHook.CacheTTL > 0 {
    			if o.TokenSuccessCacheTTL > 0 && o.WebHook.CacheTTL < o.TokenSuccessCacheTTL {
    				klog.Warningf("the webhook cache ttl of %s is shorter than the overall cache ttl of %s for successful token authentication attempts.", o.WebHook.CacheTTL, o.TokenSuccessCacheTTL)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

    address: 0.0.0.0
    apiVersion: kubelet.config.k8s.io/v1beta1
    authentication:
      anonymous:
        enabled: false
      webhook:
        cacheTTL: 2m0s
        enabled: true
      x509: {}
    authorization:
      mode: Webhook
      webhook:
        cacheAuthorizedTTL: 5m0s
        cacheUnauthorizedTTL: 30s
    cgroupDriver: cgroupfs
    cgroupsPerQOS: true
    configMapAndSecretChangeDetectionStrategy: Watch
    containerLogMaxFiles: 5
    containerLogMaxSize: 10Mi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    					Anonymous: v1beta1.KubeletAnonymousAuthentication{Enabled: utilpointer.Bool(false)},
    					Webhook: v1beta1.KubeletWebhookAuthentication{
    						Enabled:  utilpointer.Bool(true),
    						CacheTTL: metav1.Duration{Duration: 2 * time.Minute},
    					},
    				},
    				Authorization: v1beta1.KubeletAuthorization{
    					Mode: v1beta1.KubeletAuthorizationModeWebhook,
    					Webhook: v1beta1.KubeletWebhookAuthorization{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/v1beta1/defaults.go

    	}
    	if obj.Authentication.Webhook.Enabled == nil {
    		obj.Authentication.Webhook.Enabled = utilpointer.Bool(true)
    	}
    	if obj.Authentication.Webhook.CacheTTL == zeroDuration {
    		obj.Authentication.Webhook.CacheTTL = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.Authorization.Mode == "" {
    		obj.Authorization.Mode = kubeletconfigv1beta1.KubeletAuthorizationModeWebhook
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    address: 0.0.0.0
    apiVersion: kubelet.config.k8s.io/v1beta1
    authentication:
      anonymous:
        enabled: false
      webhook:
        cacheTTL: 2m0s
        enabled: true
      x509: {}
    authorization:
      mode: Webhook
      webhook:
        cacheAuthorizedTTL: 5m0s
        cacheUnauthorizedTTL: 30s
    cgroupDriver: cgroupfs
    cgroupsPerQOS: true
    configMapAndSecretChangeDetectionStrategy: Watch
    containerLogMaxFiles: 5
    containerLogMaxSize: 10Mi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. pilot/pkg/credentials/kube/secrets.go

    	}
    }
    
    func (s *CredentialsController) Close() {
    	s.secrets.ShutdownHandlers()
    }
    
    func (s *CredentialsController) HasSynced() bool {
    	return s.secrets.HasSynced()
    }
    
    const cacheTTL = time.Minute
    
    // clearExpiredCache iterates through the cache and removes all expired entries. Should be called with mutex held.
    func (s *CredentialsController) clearExpiredCache() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			c.FuzzNoCustom(obj)
    			obj.EnableServer = true
    			obj.Authentication.Anonymous.Enabled = true
    			obj.Authentication.Webhook.Enabled = false
    			obj.Authentication.Webhook.CacheTTL = metav1.Duration{Duration: 2 * time.Minute}
    			obj.Authorization.Mode = kubeletconfig.KubeletAuthorizationModeAlwaysAllow
    			obj.Authorization.Webhook.CacheAuthorizedTTL = metav1.Duration{Duration: 5 * time.Minute}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
    	*out = *in
    	out.CacheTTL = in.CacheTTL
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
    func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 09 11:19:11 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    	if err := v1.Convert_Pointer_bool_To_bool(&in.Enabled, &out.Enabled, s); err != nil {
    		return err
    	}
    	out.CacheTTL = in.CacheTTL
    	return nil
    }
    
    // Convert_v1beta1_KubeletWebhookAuthentication_To_config_KubeletWebhookAuthentication is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/options/options_test.go

    				Allow: false,
    			},
    			ClientCert: &apiserveroptions.ClientCertAuthenticationOptions{
    				ClientCA: "/client-ca",
    			},
    			WebHook: &kubeoptions.WebHookAuthenticationOptions{
    				CacheTTL:     180000000000,
    				ConfigFile:   "/token-webhook-config",
    				Version:      "v1beta1",
    				RetryBackoff: apiserveroptions.DefaultAuthWebhookRetryBackoff(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top