Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for podgc (0.18 sec)

  1. pkg/controller/podgc/gc_controller.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package podgc
    
    import (
    	"context"
    	"sort"
    	"sync"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/controller/job/backoff_utils.go

    // 4. fallback to pod's creation time
    //
    // Pods owned by Kubelet are marked with Ready=False condition when
    // transitioning to terminal phase, thus being handled by (1.) or (2.).
    // Orphaned pods are deleted by PodGC, thus being handled by (3.).
    func getFinishedTime(p *v1.Pod) time.Time {
    	if finishTime := getFinishTimeFromContainers(p); finishTime != nil {
    		return *finishTime
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. pkg/controller/podgc/gc_controller_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package podgc
    
    import (
    	"context"
    	"encoding/json"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/core.go

    	return &ControllerDescriptor{
    		name:     names.PodGarbageCollectorController,
    		aliases:  []string{"podgc"},
    		initFunc: startPodGarbageCollectorController,
    	}
    }
    
    func startPodGarbageCollectorController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	go podgc.NewPodGC(
    		ctx,
    		controllerContext.ClientBuilder.ClientOrDie("pod-garbage-collector"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/options_test.go

    	nodelifecycleconfig "k8s.io/kubernetes/pkg/controller/nodelifecycle/config"
    	poautosclerconfig "k8s.io/kubernetes/pkg/controller/podautoscaler/config"
    	podgcconfig "k8s.io/kubernetes/pkg/controller/podgc/config"
    	replicasetconfig "k8s.io/kubernetes/pkg/controller/replicaset/config"
    	replicationconfig "k8s.io/kubernetes/pkg/controller/replication/config"
    	resourcequotaconfig "k8s.io/kubernetes/pkg/controller/resourcequota/config"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.28.md

      
      Support for `cgroup v1` is removed. ([#118764](https://github.com/kubernetes/kubernetes/pull/118764), [@iholder101](https://github.com/iholder101))
    - Added handling for pods in podgc for `PodReplacementPolicy` or `PodDisruption`. ([#118772](https://github.com/kubernetes/kubernetes/pull/118772), [@kannon92](https://github.com/kannon92))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/security_context.go

    	if err != nil {
    		return nil, err
    	}
    	synthesized.NamespaceOptions = namespaceOptions
    	podSc := pod.Spec.SecurityContext
    	if podSc != nil {
    		if podSc.FSGroup != nil {
    			synthesized.SupplementalGroups = append(synthesized.SupplementalGroups, int64(*podSc.FSGroup))
    		}
    
    		if podSc.SupplementalGroups != nil {
    			for _, sg := range podSc.SupplementalGroups {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers_linux_test.go

    			podSc:           &v1.PodSecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeUnconfined}},
    			containerSc:     &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeRuntimeDefault}},
    			expectedProfile: runtimeDefaultProfile,
    		},
    		{
    			description:   "prioritise container field over pod field",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.25.md

      - DeletionByTaintManager (Pod deleted by taint manager due to NoExecute taint)
      - EvictionByEvictionAPI (Pod evicted by Eviction API)
      - DeletionByPodGC (an orphaned Pod deleted by PodGC) ([#110959](https://github.com/kubernetes/kubernetes/pull/110959), [@mimowo](https://github.com/mimowo))
    - Kube-Scheduler ComponentConfig is graduated to GA, `kubescheduler.config.k8s.io/v1` is available now.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.27.md

    - `PodGC` for pods which are in terminal phase now do not add the `DisruptionTarget` condition. ([#115056](https://github.com/kubernetes/kubernetes/pull/115056), [@mimowo](https://github.com/mimowo))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
Back to top