- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 349 for port_name (0.31 sec)
-
pkg/probe/util.go
// findPortByName is a helper function to look up a port in a container by name. func findPortByName(container *v1.Container, portName string) (int, error) { for _, port := range container.Ports { if port.Name == portName { return int(port.ContainerPort), nil } } return 0, fmt.Errorf("port %s not found", portName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 19 16:51:52 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/probe/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 06:14:41 UTC 2023 - 3.9K bytes - Viewed (0) -
docs/sts/client_grants/sts_element.py
cElementTree.Element instance. Provides STS namespace aware parsing functions. """ def __init__(self, root_name, element): self.root_name = root_name self.element = element @classmethod def fromstring(cls, root_name, data): """Initialize STSElement from name and XML string data. :param name: Name for XML data. Used in XML errors.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
pkg/config/kube/conversion.go
) // ConvertProtocol from k8s protocol and port name func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance { if proto == corev1.ProtocolUDP { return protocol.UDP } // If application protocol is set, we will use that // If not, use the port name name := portName if appProto != nil { name = *appProto
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 2.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util.go
// targetPort is a number, use that. If the targetPort is a string, look that // string up in all named ports in all containers in the target pod. If no // match is found, fail. func FindPort(pod *v1.Pod, svcPort *v1.ServicePort) (int, error) { portName := svcPort.TargetPort switch portName.Type { case intstr.String: name := portName.StrVal
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 28 02:01:47 UTC 2023 - 6.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
// ServiceEntry has no explicit named targetPorts; targetPort only allows a number // Instead, there is name matching between the port names if named, f := svc.PortNames[int32(port.ServicePort)]; f { // get port name or target port tv, ok := p.Ports[named.PortName] if ok { // if we match one, override it. Otherwise, use the service port targetPort = tv } else if targetPort == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
tools/packaging/common/istio-start.sh
# redirecting stderr. INSTANCE_IP=${ISTIO_SVC_IP} POD_NAME=${POD_NAME} POD_NAMESPACE=${NS} "${ISTIO_BIN_BASE}/pilot-agent" proxy "${ISTIO_AGENT_FLAGS_ARRAY[@]}" else
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 22:16:26 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/proxy/servicechangetracker.go
for svcPortName, info := range other { _, exists := (*sm)[svcPortName] if !exists { klog.V(4).InfoS("Adding new service port", "portName", svcPortName, "servicePort", info) } else { klog.V(4).InfoS("Updating existing service port", "portName", svcPortName, "servicePort", info) } (*sm)[svcPortName] = info } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 8.7K bytes - Viewed (0) -
hack/serve-prom-scrapes.sh
# and added to the data in that file. # This requires an `nc` command that this script knows how to wrangle. if (( $# != 2 )); then echo "Usage: $0 port_num scrapes_dir" >&2 exit 1 fi port_num="$1" scrapes_dir="$2" response_file="/tmp/$(cd /tmp && mktemp response.XXXXXX)" cleanup_serve() { rm -rf "$response_file" } trap cleanup_serve EXIT
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 04 06:33:06 UTC 2022 - 1.9K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/event-exporter.yaml
- --pod-id=$(POD_NAME) - --namespace-id=$(POD_NAMESPACE) env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: POD_NAMESPACE valueFrom: fieldRef:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 13 18:40:41 UTC 2021 - 2.3K bytes - Viewed (0)