Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 748 for rotated (0.14 sec)

  1. pkg/kubelet/logs/container_log_manager.go

    	}
    	if err := c.runtimeService.ReopenContainerLog(ctx, id); err != nil {
    		// Rename the rotated log back, so that we can try rotating it again
    		// next round.
    		// If kubelet gets restarted at this point, we'll lose original log.
    		if renameErr := c.osInterface.Rename(rotated, log); renameErr != nil {
    			// This shouldn't happen.
    			// Report an error if this happens, because we will lose original
    			// log.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			restartCount: 7,
    		},
    		{
    			filenames:    []string{"5.log.rotated", "6.log", "7.log"},
    			restartCount: 8,
    		},
    		// no restart count log files
    		{
    			filenames:    []string{},
    			restartCount: 0,
    		},
    		{
    			filenames:    []string{"a.log.rotated", "b.log.rotated", "12log.rotated"},
    			restartCount: 0,
    		},
    		// log extension twice
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. pkg/log/options.go

    	ErrorOutputPaths []string
    
    	// RotateOutputPath is the path to a rotating log file. This file should
    	// be automatically rotated over time, based on the rotation parameters such
    	// as RotationMaxSize and RotationMaxAge. The default is to not rotate.
    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pkg/kubelet/certificate/kubelet.go

    		&compbasemetrics.HistogramOpts{
    			Subsystem: metrics.KubeletSubsystem,
    			Name:      "certificate_manager_server_rotation_seconds",
    			Help:      "Histogram of the number of seconds the previous certificate lived before being rotated.",
    			Buckets: []float64{
    				60,        // 1  minute
    				3600,      // 1  hour
    				14400,     // 4  hours
    				86400,     // 1  day
    				604800,    // 1  week
    				2592000,   // 1  month
    				7776000,   // 3  months
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND x:(MOVDconst [m]) n) && m != 0 && isPPC64ValidShiftMask(^m) => (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    
    // If the RLDICL does not rotate its value, a shifted value can be merged.
    (RLDICL [em] x:(SRDconst [s] a)) && (em&0xFF0000) == 0 => (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    
    // Convert rotated 32 bit masks on 32 bit values into rlwinm. In general, this leaves the upper 32 bits in an undefined state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    	}{
    		{
    			name:      "all CA exist, all certs should be rotated for etcd",
    			component: constants.Etcd,
    			certsShouldExist: []*certsphase.KubeadmCert{
    				certsphase.KubeadmCertEtcdServer(),
    				certsphase.KubeadmCertEtcdPeer(),
    				certsphase.KubeadmCertEtcdHealthcheck(),
    			},
    		},
    		{
    			name:      "all CA exist, all certs should be rotated for apiserver",
    			component: constants.KubeAPIServer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. pkg/serviceaccount/jwt_test.go

    			ExpectedOK:       true,
    			ExpectedUserName: expectedUserName,
    			ExpectedUserUID:  expectedUserUID,
    			ExpectedGroups:   []string{"system:serviceaccounts", "system:serviceaccounts:test"},
    		},
    		"rotated keys (rsa)": {
    			Token:            rsaToken,
    			Client:           nil,
    			Keys:             []interface{}{getPublicKey(otherPublicKey), getPublicKey(ecdsaPublicKey), getPublicKey(rsaPublicKey)},
    			ExpectedErr:      false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    						// Here is how container log rotation works (see containerLogManager#rotateLatestLog):
    						//
    						// 1. rename current log to rotated log file whose filename contains current timestamp (fmt.Sprintf("%s.%s", log, timestamp))
    						// 2. reopen the container log
    						// 3. if #2 fails, rename rotated log file back to container log
    						//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/crypto/des/block.go

    	b2 = (block & 0xff00ff00)
    	block ^= b1<<32 ^ b2 ^ b1<<8 ^ b2<<24
    
    	b1 = block >> 48
    	b2 = block << 48
    	block ^= b1 ^ b2 ^ b1<<48 ^ b2>>48
    	return block
    }
    
    // creates 16 28-bit blocks rotated according
    // to the rotation schedule.
    func ksRotate(in uint32) (out []uint32) {
    	out = make([]uint32, 16)
    	last := in
    	for i := 0; i < 16; i++ {
    		// 28-bit circular left shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top