Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Annotation (0.2 sec)

  1. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

            - --proxyLogLevel
            - {{ annotation .ObjectMeta `sidecar.istio.io/logLevel` .Values.global.proxy.logLevel | quote}}
            - --proxyComponentLogLevel
            - {{ annotation .ObjectMeta `sidecar.istio.io/componentLogLevel` .Values.global.proxy.componentLogLevel | quote}}
            - --log_output_level
            - {{ annotation .ObjectMeta `sidecar.istio.io/agentLogLevel` .Values.global.logging.level | quote}}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. cni/pkg/util/podutil_test.go

    // limitations under the License.
    
    package util
    
    import (
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. cni/README.md

        - Get the port list from pods definition, as well as annotations.
        - Setup iptables with required port list: `nsenter --net=<k8s pod netns> /opt/cni/bin/istio-iptables ...`. Following conditions will prevent the redirect rules to be setup in the pods:
            - Pods have annotation `sidecar.istio.io/inject` set to `false` or has no key `sidecar.istio.io/status` in annotations
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    		}
    		wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    		isAnnotated := newPod.Annotations != nil && newPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    		shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod)
    
    		// We should check the latest annotation vs desired status
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. cni/pkg/config/config.go

    	RepairPods bool
    
    	// Whether to fix race condition by delete broken pods
    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    	// Filters for race repair, including name of sidecar annotation, name of init container,
    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app, proxy}
    	pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
    	ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has sidecar annotation from injector, should not be added to mesh
    	assert.Equal(t, wasCalled, false)
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	err := s.netServer.RemovePodFromMesh(ctx, pod)
    	if err != nil {
    		log.Errorf("failed to remove pod from mesh: %v", err)
    		return err
    	}
    	log.Debug("removing annotation from pod")
    	err = util.AnnotateUnenrollPod(s.kubeClient, &pod.ObjectMeta)
    	if err != nil {
    		log.Errorf("failed to annotate pod unenrollment: %v", err)
    	}
    	return err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	injectAnnotationKey = annotation.SidecarInject.Name
    	sidecarStatusKey    = annotation.SidecarStatus.Name
    
    	podRetrievalMaxRetries = 30
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for another two update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(5))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cni/pkg/util/podutil.go

    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    )
    
    var annotationPatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":"%s"}}}`,
    	constants.AmbientRedirection,
    	constants.AmbientRedirectionEnabled,
    ))
    
    var annotationRemovePatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":null}}}`,
    	constants.AmbientRedirection,
    ))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top