CNCF
  • README.md
  • Cloud Native
    • All
      • CNCF Graduated Projects(Updated: Mar 01, 2024)
    • Kubernetes (*k8s)
      • Certifications
        • CKA, CKAD, CKS - Jan 03 2022
        • Check Badge
        • LF Certification Verify tool
        • Renew policy (Aug 2, 2021)
      • Versions
        • Native-k8s(Ubuntu) - Dec 12 2023
        • Native-k8s(CentOS) - Dec 12 2023
        • Kubernetes version graph view
        • GKE (Google Kuberntes Engine) - Jun 14 2021
      • Volumes
        • GKE PVC Resize
        • Storageclassses Performace on Managed k8s
      • Registry
        • GCR Performance
      • Observability
        • Pixie
      • Architecture
        • kubectl get componentstatuses
        • Feature Gate
        • CNCF 플랫폼 백서(White Paper)
      • Plugins
        • krew
          • custom-index
    • Service Mesh
      • Linkerd
      • Istio
        • Ambient Mesh
          • 이스티오(Istio)의 앰비언트 메시 소개
    • Security
      • Resources
        • kubesec
      • Node
        • AppArmor (under construction)
        • falco (under contruction)
        • docker-bench
      • Cluster
        • OPA / Gatekeeper (under cstrc)
        • Audit Policy
        • kube-bench
      • Container
        • trivy
    • Sustainability
      • 클라우드 네이티브의 지속가능성 랜드스케이프(Cloud Native Sustainability Landscape, v0.1)
  • Trouble Shooting
    • Cluster Build
      • kubelet is not properly working on 1.22 version
  • BLOG & NEWS (Ko, 한국어 기계 번역)
    • Blog
      • None
        • 4개의 쿠버네티스 정책(Policy) 타입(2023.03.23)
      • Member
        • Kubernetes 규정 준수를 위한 필수 가이드(2023.03.24)
        • 클라우드 네이티브 가드레일이 개발 팀에 도움이 되는 5가지 이유(2023.03.20)
        • OpenTelemetry를 이용한 Kafka 기반의 비동기 워크플로우 테스트(2023.04.04)
        • 링커드(Linkerd) 서비스 메시(Service Mesh) 소개(2023.04.06)
        • 쿠버네티스 앱의 분산 추적에 관해서 지금 알면 좋은 사항(2023.03.29)
        • CI/CD 파이프라인에 관측 가능성(observability)을 확보하는 방법(2023.05.05)
      • Community
        • 클라우드 네이티브 컴퓨팅을 위한 플랫폼 백서(White Paper) 소개(2023.04.11)
      • Project
        • KubeVela: 클라우드 네이티브 애플리케이션 및 플랫폼 엔지니어링으로 가는 길(2023.03.31)
        • Volcano Engine: Dragonfly를 통한 효과적인 이미지 배포 가속 방법(2023.04.13)
        • Weave GitOps를 Flux UI로 구현하는 법(2023.04.24)
        • 이스티오(Istio) 앰비언트(Ambient) 웨이포인트 프록시를 통한 사용 간편화(2023.04.26)
      • Ambassador
        • 오픈소스 프로젝트를 위한 ChatGPT 기반 코드 리뷰어 봇(Bot) (2023.06.06)
        • 입문자를 위한 MLOps: MLOps 시작하기 (2023.06.22)
    • News
Powered by GitBook
On this page
  • 1. Install on k8s
  • 1.1. Install px binary
  • 1.3. After Deploying
  • 2. Web UI
  • 2.1. NKS Cluster
  • 2.2. bk8s Cluster

Was this helpful?

  1. Cloud Native
  2. Kubernetes (*k8s)
  3. Observability

Pixie

Pixie runs entirely inside your Kubernetes clusters without storing any customer data outside. Avoid trading-off depth of visibility due to the hassle and cost of trucking petabytes of telemetry off-c

1. Install on k8s

1.1. Install px binary

root@bk8s-m:~# bash -c "$(curl -fsSL https://withpixie.ai/install.sh)"

  ___  _       _
 | _ \(_)__ __(_) ___
 |  _/| |\ \ /| |/ -_)
 |_|  |_|/_\_\|_|\___|

==> Info:
Pixie gives engineers access to no-instrumentation, streaming &
unsampled auto-telemetry to debug performance issues in real-time,
More information at: https://www.pixielabs.ai.

This command will install the Pixie CLI (px) in a location selected
by you, and performs authentication with Pixie's cloud hosted control
plane. After installation of the CLI you can easily manage Pixie
installations on your K8s clusters and execute scripts to collect
telemetry from your clusters using Pixie.

Docs:
  https://work.withpixie.ai/docs


==> Terms and Conditions https://www.pixielabs.ai/terms
I have read and accepted the Terms & Conditions [y/n]: 
<snipped>
root@bk8s-m:~# px auth login
Pixie CLI
Starting browser
Fetching refresh token ...
Failed to perform browser based auth. Will try manual auth error=browser failed to open

Please Visit: 
         https://work.withpixie.ai:443/login?local_mode=true

Copy and paste token here: <Auth Token>

If Self-hosted k8s may need to generate manually auth token and put the token for verification between pixie cloud and local k8s.

1.2. Deploying

root@bk8s-m:~# px deploy 
Pixie CLI

Running Cluster Checks:
 ✔    Kernel version > 4.14.0 
 ✔    Cluster type is supported 
 ✔    K8s version > 1.16.0 
 ✔    Kubectl > 1.10.0 is present 
 ✔    User can create namespace 
 ✕    Cluster type is in list of known supported types  ERR: Cluster type is not in list of known supported cluster types. Please see: https://docs.px.dev/installing-pixie/requirements/
Some cluster checks failed. Pixie may not work properly on your cluster. Continue with deploy? (y/n) [y] : y
Installing Vizier version: 0.9.16
Generating YAMLs for Pixie
Deploying Pixie to the following cluster: bk8s
Is the cluster correct? (y/n) [y] : y
Found 2 nodes
 ✔    Installing OLM CRDs 
 ✔    Deploying OLM 
 ✔    Deploying Pixie OLM Namespace 
 ✔    Installing Vizier CRD 
 ✔    Deploying OLM Catalog 
 ✔    Deploying OLM Subscription 
 ✔    Creating namespace 
 ✔    Deploying Vizier 
 ✔    Waiting for Cloud Connector to come online 
Waiting for Pixie to pass healthcheck
 ✔    Wait for PEMs/Kelvin 
 ✔    Wait for healthcheck 

==> Next Steps:

Run some scripts using the px cli. For example: 
- px script list : to show pre-installed scripts.
- px run px/service_stats : to run service info for sock-shop demo application (service selection coming soon!).

Check out our docs: https://docs.withpixie.ai:443.

Visit : https://work.withpixie.ai:443 to use Pixie's UI.

1.3. After Deploying

root@bk8s-m:~# k get po -o wide -A
NAMESPACE     NAME                                                              READY   STATUS      RESTARTS        AGE     IP               NODE      NOMINATED NODE   READINESS GATES
kube-system   calico-kube-controllers-57c5b6487c-4svzj                          1/1     Running     2 (7m45s ago)   3h52m   172.16.172.136   bk8s-m    <none>           <none>
kube-system   calico-node-ch6c2                                                 1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
kube-system   calico-node-cpjxh                                                 1/1     Running     2 (7m41s ago)   3h50m   192.168.1.111    bk8s-w1   <none>           <none>
kube-system   calico-node-tqmfj                                                 1/1     Running     2 (7m41s ago)   3h48m   192.168.1.112    bk8s-w2   <none>           <none>
kube-system   coredns-78fcd69978-4r459                                          1/1     Running     2 (7m45s ago)   3h52m   172.16.172.137   bk8s-m    <none>           <none>
kube-system   coredns-78fcd69978-blgjl                                          1/1     Running     2 (7m45s ago)   3h52m   172.16.172.135   bk8s-m    <none>           <none>
kube-system   etcd-bk8s-m                                                       1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
kube-system   kube-apiserver-bk8s-m                                             1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
kube-system   kube-controller-manager-bk8s-m                                    1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
kube-system   kube-proxy-5p9l7                                                  1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
kube-system   kube-proxy-jskzf                                                  1/1     Running     2 (7m41s ago)   3h50m   192.168.1.111    bk8s-w1   <none>           <none>
kube-system   kube-proxy-rpdz6                                                  1/1     Running     2 (7m41s ago)   3h48m   192.168.1.112    bk8s-w2   <none>           <none>
kube-system   kube-scheduler-bk8s-m                                             1/1     Running     2 (7m45s ago)   3h52m   192.168.1.110    bk8s-m    <none>           <none>
olm           catalog-operator-8dc86744b-4vjzv                                  1/1     Running     1 (7m41s ago)   19m     172.16.247.9     bk8s-w1   <none>           <none>
olm           olm-operator-6d88f56b99-w2pzg                                     1/1     Running     1 (7m41s ago)   19m     172.16.203.9     bk8s-w2   <none>           <none>
pl            kelvin-5b66bcdd9f-kjmq2                                           1/1     Running     1 (2m43s ago)   4m31s   172.16.247.13    bk8s-w1   <none>           <none>
pl            pl-etcd-0                                                         1/1     Running     0               4m38s   172.16.203.12    bk8s-w2   <none>           <none>
pl            pl-etcd-1                                                         1/1     Running     0               4m38s   172.16.247.12    bk8s-w1   <none>           <none>
pl            pl-etcd-2                                                         1/1     Running     0               4m38s   172.16.203.13    bk8s-w2   <none>           <none>
pl            pl-nats-0                                                         1/1     Running     0               4m40s   172.16.247.11    bk8s-w1   <none>           <none>
pl            vizier-certmgr-558bb8675-8rfr4                                    1/1     Running     0               4m31s   172.16.203.14    bk8s-w2   <none>           <none>
pl            vizier-cloud-connector-6f67899c57-vbzfn                           1/1     Running     0               4m31s   172.16.247.14    bk8s-w1   <none>           <none>
pl            vizier-metadata-8b5847f56-m2zqj                                   1/1     Running     0               4m31s   172.16.203.15    bk8s-w2   <none>           <none>
pl            vizier-pem-7gl4g                                                  1/1     Running     0               4m31s   192.168.1.110    bk8s-m    <none>           <none>
pl            vizier-pem-b9gmb                                                  1/1     Running     0               4m31s   192.168.1.112    bk8s-w2   <none>           <none>
pl            vizier-pem-cj9dx                                                  1/1     Running     0               4m31s   192.168.1.111    bk8s-w1   <none>           <none>
pl            vizier-proxy-6f79d9897f-wsstz                                     1/1     Running     0               4m31s   172.16.247.15    bk8s-w1   <none>           <none>
pl            vizier-query-broker-6f97bf454b-qf77b                              1/1     Running     0               4m31s   172.16.203.16    bk8s-w2   <none>           <none>
px-operator   3c593d90019191af986b90d9ab4237acb87dc171d5e92cb08f13c3--1-n9mdx   0/1     Completed   0               5m4s    172.16.203.10    bk8s-w2   <none>           <none>
px-operator   pixie-operator-index-8zzkr                                        1/1     Running     0               5m17s   172.16.247.10    bk8s-w1   <none>           <none>
px-operator   vizier-operator-d67b785dc-lb94h                                   1/1     Running     0               4m49s   172.16.203.11    bk8s-w2   <none>           <none>

2. Web UI

2.1. NKS Cluster

2.2. bk8s Cluster

PreviousObservabilityNextArchitecture

Last updated 3 years ago

Was this helpful?

Kubernetes Monitoring, Application Debug Platform | Pixie
Pixie Architecture
Logo