COLLAPSE ALL
  • Home
  • About Pixie
    • Pixie Overview
    • Data Sources
    • How Pixie uses eBPF
    • Roadmap
    • FAQ
    • Troubleshooting
  • Installing Pixie
    • Requirements
  • Using Pixie
    • Using the Live UI
    • Using the CLI
    • Using the API
  • Tutorials
  • Reference
    • Architecture
    • PxL
      • Execution Time Functions
        • px._exec_host_num_cpus
        • px._exec_hostname
        • px._match_regex_rule
        • px.abs
        • px.add
        • px.amqp_frame_type_name
        • px.amqp_method_name
        • px.any
        • px.approxEqual
        • px.asid
        • px.atoi
        • px.bin
        • px.bytes_to_hex
        • px.ceil
        • px.cidrs_contain_ip
        • px.container_id_to_start_time
        • px.container_id_to_status
        • px.container_id_to_stop_time
        • px.container_name_to_container_id
        • px.container_name_to_start_time
        • px.container_name_to_stop_time
        • px.contains
        • px.count
        • px.cql_opcode_name
        • px.deployment_id_to_deployment_name
        • px.deployment_id_to_namespace
        • px.deployment_id_to_start_time
        • px.deployment_id_to_status
        • px.deployment_id_to_stop_time
        • px.deployment_name_to_deployment_id
        • px.deployment_name_to_namespace
        • px.deployment_name_to_start_time
        • px.deployment_name_to_status
        • px.deployment_name_to_stop_time
        • px.divide
        • px.dns_rcode_name
        • px.equal
        • px.exp
        • px.find
        • px.floor
        • px.get_cidrs
        • px.greaterThan
        • px.greaterThanEqual
        • px.grpc_status_code_to_str
        • px.has_service_id
        • px.has_service_name
        • px.has_value
        • px.hex_to_ascii
        • px.http_resp_message
        • px.int64_to_time
        • px.invert
        • px.ip_to_pod_id
        • px.ip_to_service_id
        • px.itoa
        • px.kafka_api_key_name
        • px.length
        • px.lessThan
        • px.lessThanEqual
        • px.ln
        • px.log
        • px.log10
        • px.log2
        • px.logicalAnd
        • px.logicalNot
        • px.logicalOr
        • px.max
        • px.mean
        • px.min
        • px.modulo
        • px.multiply
        • px.mux_frame_type_name
        • px.mysql_command_name
        • px.namespace_name_to_namespace_id
        • px.negate
        • px.normalize_mysql
        • px.normalize_pgsql
        • px.notEqual
        • px.nslookup
        • px.pluck
        • px.pluck_array
        • px.pluck_float64
        • px.pluck_int64
        • px.pod_id_to_deployment_id
        • px.pod_id_to_deployment_name
        • px.pod_id_to_namespace
        • px.pod_id_to_node_name
        • px.pod_id_to_owner_references
        • px.pod_id_to_pod_labels
        • px.pod_id_to_pod_name
        • px.pod_id_to_replicaset_id
        • px.pod_id_to_replicaset_name
        • px.pod_id_to_service_id
        • px.pod_id_to_service_name
        • px.pod_id_to_start_time
        • px.pod_id_to_stop_time
        • px.pod_name_to_deployment_id
        • px.pod_name_to_deployment_name
        • px.pod_name_to_namespace
        • px.pod_name_to_owner_references
        • px.pod_name_to_pod_id
        • px.pod_name_to_pod_ip
        • px.pod_name_to_replicaset_id
        • px.pod_name_to_replicaset_name
        • px.pod_name_to_service_id
        • px.pod_name_to_service_name
        • px.pod_name_to_start_time
        • px.pod_name_to_status
        • px.pod_name_to_stop_time
        • px.pow
        • px.pprof
        • px.protocol_name
        • px.quantiles
        • px.redact_pii_best_effort
        • px.regex_match
        • px.replace
        • px.replicaset_id_to_deployment_id
        • px.replicaset_id_to_deployment_name
        • px.replicaset_id_to_namespace
        • px.replicaset_id_to_owner_references
        • px.replicaset_id_to_replicaset_name
        • px.replicaset_id_to_start_time
        • px.replicaset_id_to_status
        • px.replicaset_id_to_stop_time
        • px.replicaset_name_to_deployment_id
        • px.replicaset_name_to_deployment_name
        • px.replicaset_name_to_namespace
        • px.replicaset_name_to_owner_references
        • px.replicaset_name_to_replicaset_id
        • px.replicaset_name_to_start_time
        • px.replicaset_name_to_status
        • px.replicaset_name_to_stop_time
        • px.round
        • px.select
        • px.service_id_to_cluster_ip
        • px.service_id_to_external_ips
        • px.service_id_to_service_name
        • px.service_name_to_namespace
        • px.service_name_to_service_id
        • px.shared_libraries
        • px.split
        • px.sqrt
        • px.strip_prefix
        • px.substring
        • px.subtract
        • px.sum
        • px.time_to_int64
        • px.tolower
        • px.toupper
        • px.trim
        • px.upid
        • px.upid_to_asid
        • px.upid_to_cmdline
        • px.upid_to_container_id
        • px.upid_to_container_name
        • px.upid_to_deployment_id
        • px.upid_to_deployment_name
        • px.upid_to_hostname
        • px.upid_to_namespace
        • px.upid_to_node_name
        • px.upid_to_pid
        • px.upid_to_pod_id
        • px.upid_to_pod_name
        • px.upid_to_pod_qos
        • px.upid_to_pod_status
        • px.upid_to_replicaset_id
        • px.upid_to_replicaset_name
        • px.upid_to_service_id
        • px.upid_to_service_name
        • px.upid_to_start_ts
        • px.upid_to_string
        • px.uri_parse
        • px.uri_recompose
        • px.vizier_id
        • px.vizier_name
        • px.vizier_namespace

pod_id_to_replicaset_id

Gets the Kubernetes ID for the Replica Set that owns the Pod (specified by Pod ID).If this pod is not controlled by any Replica Set, returns an empty string.

Returns: STRING

The k8s Replica Set ID wich controls the Pod with the Pod ID.

Arguments

VariableTypeDescription
pod_idSTRINGThe Pod ID of the Pod to get the Replica Set ID for.

Examples:

df.replicaset_id = px.pod_id_to_replicaset_id(df.pod_id)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.