Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for controllerRef (0.52 sec)

  1. pkg/controller/history/controller_history.go

    	if len(prefix) > 223 {
    		prefix = prefix[:223]
    	}
    
    	return fmt.Sprintf("%s-%s", prefix, hash)
    }
    
    // NewControllerRevision returns a ControllerRevision with a ControllerRef pointing to parent and indicating that
    // parent is of parentKind. The ControllerRevision has labels matching template labels, contains Data equal to data, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  2. pkg/controller/replication/conversion.go

    func (pc podControlAdapter) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error {
    	rc, err := convertRStoRC(object.(*apps.ReplicaSet))
    	if err != nil {
    		return err
    	}
    	return pc.PodControlInterface.CreatePods(ctx, namespace, template, rc, controllerRef)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. pkg/controller/deployment/sync.go

    		// Otherwise, this is a hash collision and we need to increment the collisionCount field in
    		// the status of the Deployment and requeue to try the creation in the next sync.
    		controllerRef := metav1.GetControllerOf(rs)
    		if controllerRef != nil && controllerRef.UID == d.UID && deploymentutil.EqualIgnoreHash(&d.Spec.Template, &rs.Spec.Template) {
    			createdRS = rs
    			err = nil
    			break
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils_test.go

    			},
    			wantPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels:          controllerSpec.Spec.Template.Labels,
    					GenerateName:    generateName,
    					OwnerReferences: []metav1.OwnerReference{*controllerRef},
    				},
    				Spec: controllerSpec.Spec.Template.Spec,
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. pkg/controller/daemon/update.go

    		if err != nil {
    			return nil, err
    		}
    	}
    	return keepCur, nil
    }
    
    // controlledHistories returns all ControllerRevisions controlled by the given DaemonSet.
    // This also reconciles ControllerRef by adopting/orphaning.
    // Note that returned histories are pointers to objects in the cache.
    // If you want to modify one, you need to deep-copy it first.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top