Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,712 for naMespace (0.47 sec)

  1. pilot/pkg/model/push_context_test.go

    			deletes: []ConfigKey{{Kind: kind.EnvoyFilter, Name: "b-medium-priority", Namespace: "testns-1"}},
    		},
    		{
    			name:    "delete entire namespace",
    			creates: []config.Config{},
    			updates: []config.Config{},
    			deletes: []ConfigKey{
    				{Kind: kind.EnvoyFilter, Name: "default-priority", Namespace: "testns-1"},
    				{Kind: kind.EnvoyFilter, Name: "b-medium-priority", Namespace: "testns-1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/namespace/kube.go

    	if _, err := c.Kube().CoreV1().Namespaces().Create(context.TODO(), &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   n.name,
    			Labels: createNamespaceLabels(n.ctx, cfg),
    		},
    	}, metav1.CreateOptions{}); err != nil {
    		return err
    	}
    
    	if !cfg.SkipCleanup {
    		n.addCleanup(func() error {
    			return c.Kube().CoreV1().Namespaces().Delete(context.TODO(), n.name, kube2.DeleteOptionsForeground())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pkg/proxy/config/api_test.go

    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"},
    	}
    	eps2 := &discoveryv1.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "bar"},
    	}
    
    	expectedSvcState := map[types.NamespacedName]*v1.Service{
    		{Name: svc1.Name, Namespace: svc1.Namespace}: svc1,
    		{Name: svc2.Name, Namespace: svc2.Namespace}: svc2,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. samples/bookinfo/platform/kube/cleanup.sh

    # only ask if in interactive mode
    if [[ -t 0 && -z ${NAMESPACE} ]];then
      echo -n "namespace ? [default] "
      read -r NAMESPACE
    fi
    
    # verify if the namespace exists, otherwise use default namespace
    if [[ -n ${NAMESPACE} ]];then
      ns=$(kubectl get namespace "${NAMESPACE}" --no-headers --output=go-template="{{.metadata.name}}" 2>/dev/null)
      if [[ -z ${ns} ]];then
        echo "NAMESPACE ${NAMESPACE} not found."
        NAMESPACE=default
      fi
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kube/kclient/client.go

    }
    
    // keyFunc is the internal API key function that returns "namespace"/"name" or
    // "name" if "namespace" is empty
    func keyFunc(name, namespace string) string {
    	if len(namespace) == 0 {
    		return name
    	}
    	return namespace + "/" + name
    }
    
    func ToOpts(c kube.Client, gvr schema.GroupVersionResource, filter Filter) kubetypes.InformerOptions {
    	ns := filter.Namespace
    	if !istiogvr.IsClusterScoped(gvr) && ns == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. pkg/test/kube/dump.go

    	}
    }
    
    // DumpPodEvents dumps the pod events for either the provided pods or all pods in the namespace if none are provided.
    func DumpPodEvents(_ resource.Context, c cluster.Cluster, workDir, namespace string, pods ...corev1.Pod) {
    	pods = podsOrFetch(c, pods, namespace)
    
    	for _, pod := range pods {
    		list, err := c.Kube().CoreV1().Events(namespace).List(context.TODO(),
    			metav1.ListOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/config.go

    	Get(typ config.GroupVersionKind, name, namespace string) *config.Config
    
    	// List returns objects by type and namespace.
    	// Use "" for the namespace to list across namespaces.
    	List(typ config.GroupVersionKind, namespace string) []config.Config
    
    	// Create adds a new configuration object to the store. If an object with the
    	// same name and namespace for the type already exists, the operation fails
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint_test.go

    			Name:      name,
    			Namespace: namespace,
    		},
    		Spec: gateway.GatewaySpec{
    			GatewayClassName: gateway.ObjectName(className),
    		},
    		Status: gateway.GatewayStatus{
    			Conditions: conditions,
    		},
    	}
    }
    
    func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway {
    	gw := makeGateway(name, namespace, programmed, isWaypoint)
    	if gw.Labels == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/graph_builder.go

    			ownerIsNamespaced := len(ownerNode.identity.Namespace) > 0
    			if ownerIsNamespaced && ownerNode.identity.Namespace != n.identity.Namespace {
    				if ownerNode.isObserved() {
    					// The owner node has been observed via an informer
    					// the dependent's namespace doesn't match the observed owner's namespace, this is definitely wrong.
    					// cluster-scoped owners can be referenced as an owner from any namespace or cluster-scoped object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/controller.go

    			// Insert all instances for this IP for services within the same namespace. This ensures we
    			// match Kubernetes logic where Services do not cross namespace boundaries and avoids
    			// possibility of other namespaces inserting service instances into namespaces they do not
    			// control.
    			if node.Metadata.Namespace == "" || i.Service.Attributes.Namespace == node.Metadata.Namespace {
    				out = append(out, model.ServiceInstanceToTarget(i))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top