Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for replicaSet (0.18 sec)

  1. pkg/kube/inject/testdata/inject/replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: hello
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello  
      template:
        metadata:
          labels:
            app: hello
        spec:
          containers:
            - name: hello
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 378 bytes
    - Viewed (0)
  2. hack/testdata/redis-slave-replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: redis-slave
      labels:
        app: redis
        role: slave
        tier: backend
    spec:
      # this replicas value is default
      # modify it according to your case
      replicas: 2
      selector:
        matchLabels:
          app: redis
          role: slave
          tier: backend
      template:
        metadata:
          labels:
            app: redis
            role: slave
            tier: backend
        spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 981 bytes
    - Viewed (0)
  3. hack/testdata/frontend-replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: frontend
      labels:
        app: guestbook
        tier: frontend
    spec:
      # this replicas value is default
      # modify it according to your case
      replicas: 3
      selector:
        matchLabels:
          app: guestbook
          tier: frontend
      template:
        metadata:
          labels:
            app: guestbook
            tier: frontend
        spec:
          containers:
          - name: php-redis
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 929 bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/replicaset.yaml.injected

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      creationTimestamp: null
      name: hello
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello
      template:
        metadata:
          annotations:
            istio.io/rev: default
            kubectl.kubernetes.io/default-container: hello
            kubectl.kubernetes.io/default-logs-container: hello
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/controller/deployment/recreate_test.go

    	tests := []struct {
    		name string
    
    		newRS  *apps.ReplicaSet
    		oldRSs []*apps.ReplicaSet
    		podMap map[types.UID][]*v1.Pod
    
    		hasOldPodsRunning bool
    	}{
    		{
    			name:              "no old RSs",
    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. pkg/registry/apps/replicaset/strategy_test.go

    	fakeImage      = "fakeimage"
    	replicasetName = "test-replicaset"
    	namespace      = "test-namespace"
    )
    
    func TestReplicaSetStrategy(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	if !Strategy.NamespaceScoped() {
    		t.Errorf("ReplicaSet must be namespace scoped")
    	}
    	if Strategy.AllowCreateOnUpdate() {
    		t.Errorf("ReplicaSet should not allow create on update")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 21:04:31 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  7. pkg/registry/apps/replicaset/strategy.go

    	newRS := obj.(*apps.ReplicaSet)
    	oldRS := old.(*apps.ReplicaSet)
    	// update is not allowed to set spec
    	newRS.Spec = oldRS.Spec
    }
    
    func (rsStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return appsvalidation.ValidateReplicaSetStatusUpdate(obj.(*apps.ReplicaSet), old.(*apps.ReplicaSet))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:43 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package replicaset contains logic for watching and synchronizing
    // ReplicaSets.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 730 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*ReplicaSet)(nil), (*example.ReplicaSet)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ReplicaSet_To_example_ReplicaSet(a.(*ReplicaSet), b.(*example.ReplicaSet), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*example.ReplicaSet)(nil), (*ReplicaSet)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  10. pkg/registry/apps/replicaset/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package replicaset provides Registry interface and it's RESTStorage
    // implementation for storing ReplicaSet api objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 18:29:06 UTC 2018
    - 774 bytes
    - Viewed (0)
Back to top