Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for replicaSet (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		return out
    	}
    	makeReplicaSet := func(name string) *example2v1.ReplicaSet {
    		return &example2v1.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createReplicaSet := func(obj *example2v1.ReplicaSet) *example2v1.ReplicaSet {
    		key := "replicasets/" + obj.Namespace + "/" + obj.Name
    		out := &example2v1.ReplicaSet{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go

    func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	out.Spec = in.Spec
    	out.Status = in.Status
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
    func (in *ReplicaSet) DeepCopy() *ReplicaSet {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  3. pkg/controller/deployment/progress.go

    // for example a resync of the deployment after it was scaled up. In those cases,
    // we shouldn't try to estimate any progress.
    func (dc *DeploymentController) syncRolloutStatus(ctx context.Context, allRSs []*apps.ReplicaSet, newRS *apps.ReplicaSet, d *apps.Deployment) error {
    	newStatus := calculateStatus(allRSs, newRS, d)
    
    	// If there is no progressDeadlineSeconds set, remove any Progressing condition.
    	if !util.HasProgressDeadline(d) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/config/v1alpha1/doc.go

    limitations under the License.
    */
    
    // +k8s:deepcopy-gen=package
    // +k8s:conversion-gen=k8s.io/kubernetes/pkg/controller/replicaset/config
    // +k8s:conversion-gen-external-types=k8s.io/kube-controller-manager/config/v1alpha1
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 849 bytes
    - Viewed (0)
  5. pkg/controller/replicaset/metrics/metrics.go

    			"the sorting (and deletion) of pods when a replicaset scales down. This only considers Ready pods when calculating and reporting.",
    		Buckets:        metrics.ExponentialBuckets(0.25, 2, 6),
    		StabilityLevel: metrics.ALPHA,
    	},
    )
    
    // Register registers ReplicaSet controller metrics.
    func Register(registrationFunc func(metrics.Registerable) error) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 15:28:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. pkg/controller/deployment/rollback.go

    		v, err := deploymentutil.Revision(rs)
    		if err != nil {
    			logger.V(4).Info("Unable to extract revision from deployment's replica set", "replicaSet", klog.KObj(rs), "err", err)
    			continue
    		}
    		if v == rollbackTo.Revision {
    			logger.V(4).Info("Found replica set with desired revision", "replicaSet", klog.KObj(rs), "revision", v)
    			// rollback by copying podTemplate.Spec from the replica set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/options/replicasetcontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    
    	replicasetconfig "k8s.io/kubernetes/pkg/controller/replicaset/config"
    )
    
    // ReplicaSetControllerOptions holds the ReplicaSetController options.
    type ReplicaSetControllerOptions struct {
    	*replicasetconfig.ReplicaSetControllerConfiguration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. pkg/registry/apps/rest/storage_apps.go

    		storage[resource+"/status"] = daemonSetStatusStorage
    	}
    
    	// replicasets
    	if resource := "replicasets"; apiResourceConfigSource.ResourceEnabled(appsapiv1.SchemeGroupVersion.WithResource(resource)) {
    		replicaSetStorage, err := replicasetstore.NewStorage(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = replicaSetStorage.ReplicaSet
    		storage[resource+"/status"] = replicaSetStorage.Status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/config/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // +k8s:deepcopy-gen=package
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 679 bytes
    - Viewed (0)
  10. pkg/controller/replicaset/config/v1alpha1/conversion.go

    limitations under the License.
    */
    
    package v1alpha1
    
    import (
    	"k8s.io/apimachinery/pkg/conversion"
    	"k8s.io/kube-controller-manager/config/v1alpha1"
    	"k8s.io/kubernetes/pkg/controller/replicaset/config"
    )
    
    // Important! The public back-and-forth conversion functions for the types in this package
    // with ReplicaSetControllerConfiguration types need to be manually exposed like this in order for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 2.1K bytes
    - Viewed (0)
Back to top