Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetFromReplicaSetTemplate (0.23 sec)

  1. pkg/controller/deployment/util/deployment_util.go

    		if *(rs.Spec.Replicas) != 0 {
    			requiredRSs = append(requiredRSs, rs)
    		}
    	}
    	return requiredRSs, allRSs
    }
    
    // SetFromReplicaSetTemplate sets the desired PodTemplateSpec from a replica set template to the given deployment.
    func SetFromReplicaSetTemplate(deployment *apps.Deployment, template v1.PodTemplateSpec) *apps.Deployment {
    	deployment.Spec.Template.ObjectMeta = template.ObjectMeta
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top