Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,257 for Containers (0.28 sec)

  1. pkg/kubelet/container/ref.go

    // within the given pod. Returns an error if the reference can't be constructed or the
    // container doesn't actually belong to the pod.
    func GenerateContainerRef(pod *v1.Pod, container *v1.Container) (*v1.ObjectReference, error) {
    	fieldPath, err := fieldPath(pod, container)
    	if err != nil {
    		// TODO: figure out intelligent way to refer to containers that we implicitly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 00:55:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types_test.go

    		})
    	}
    }
    
    func TestNewNodeInfo(t *testing.T) {
    	nodeName := "test-node"
    	pods := []*v1.Pod{
    		st.MakePod().UID("test-1").Namespace("node_info_cache_test").Name("test-1").Node(nodeName).
    			Containers([]v1.Container{st.MakeContainer().ResourceRequests(map[v1.ResourceName]string{
    				v1.ResourceCPU:    "100m",
    				v1.ResourceMemory: "500",
    			}).ContainerPort([]v1.ContainerPort{{
    				HostIP:   "127.0.0.1",
    				HostPort: 80,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/security_context_windows_test.go

    		{
    			desc: "Pass if image's user is root (case-insensitive), container's RunAsUser is not root and RunAsNonRoot is true",
    			sc: &v1.SecurityContext{
    				RunAsNonRoot: &runAsNonRootTrue,
    				WindowsOptions: &v1.WindowsSecurityContextOptions{
    					RunAsUserName: &anyUser,
    				},
    			},
    			username: rootUserUppercase,
    			fail:     false,
    		},
    	} {
    		pod.Spec.Containers[0].SecurityContext = test.sc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 02:29:11 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractMutatingDomainObjectContainerInHookIntegrationTest.groovy

            succeeds "verify"
        }
    
        def "can mutate other containers"() {
            buildFile << """
                class SomeOtherType implements Named {
                    final String name
                    SomeOtherType(String name) {
                        this.name = name
                    }
                }
    
                def otherContainer = project.container(SomeOtherType)
                testContainer.configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/custom-template.yaml.injected

            prometheus.istio.io/merge-metrics: "false"
            proxy.istio.io/overrides: '{"containers":[{"name":"hello","image":"fake.docker.io/google-samples/hello-go-gke:1.0","resources":{},"readinessProbe":{"httpGet":{"port":80}}}]}'
            sidecar.istio.io/rewriteAppHTTPProbers: "false"
            sidecar.istio.io/status: '{"initContainers":null,"containers":["hello"],"volumes":["some-injected-file"],"imagePullSecrets":null,"revision":"default"}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 25 05:41:41 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

          {{ toYaml .Values.global.proxy.resources | indent 6 }}
        {{- end }}
      {{- end }}
    {{- end }}
    {{- $containers := list }}
    {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/kube/inject/app_probe.go

    		return c
    	}
    	return FindContainer(name, pod.Spec.InitContainers)
    }
    
    // FindContainer returns the pointer to the first container whose name matches.
    func FindContainer(name string, containers []corev1.Container) *corev1.Container {
    	for i := range containers {
    		if containers[i].Name == name {
    			return &containers[i]
    		}
    	}
    	return nil
    }
    
    // convertAppProber returns an overwritten `Probe` for pilot agent to take over.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/storage/storage_test.go

    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "ctr"},
    					},
    				},
    				Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}},
    			},
    			query:    "foo",
    			location: expectedIP,
    		},
    		{
    			pod: api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "ctr"},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package cm (abbreviation of "container manager") and its subpackages contain all the kubelet code
    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  10. pkg/kube/inject/template.go

    func applicationPorts(containers []corev1.Container) string {
    	return getContainerPorts(containers, func(c corev1.Container) bool {
    		return c.Name != ProxyContainerName
    	})
    }
    
    func includeInboundPorts(containers []corev1.Container) string {
    	// Include the ports from all containers in the deployment.
    	return getContainerPorts(containers, func(corev1.Container) bool { return true })
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top