Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for rotated (0.27 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. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/block.go

    	HotPgoInitial          = HotPgo | HotInitial                // special case; single block loop, initial block is header block has a flow-in entry, but PGO says it is hot
    	HotPgoInitialNotFLowIn = HotPgo | HotInitial | HotNotFlowIn // PGO says it is hot, and the loop is rotated so flow enters loop with a branch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server_test.go

    			}
    			cert, certErr := util.ParsePemEncodedCertificate(rotatedCertBytes)
    			if certErr != nil {
    				t.Fatalf("rotated cert is not valid")
    			}
    			currTime := time.Now()
    			timeToExpire := cert.NotAfter.Sub(currTime)
    			if timeToExpire < 0 {
    				t.Fatalf("rotated cert is already expired")
    			}
    		})
    	}
    }
    
    func checkCert(t *testing.T, s *Server, cert, key []byte) bool {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Ints.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Ints.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(int[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top