This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 27 Apr, 2021 18 commits
    • Michelle Nguyen's avatar
      PP-2684 Don't include namespace in helm chart/extracted YAMLs · fd1b58c0
      Michelle Nguyen authored
      Summary:
      now that we're updating vizier so that it can be deployed to any namespace, we should follow helm chart conventions a little better.
      in general, namespaces are not created in the helm charts. it can be created using the --create-namespace flag on the helm command or should already exist.
      
      this diff updates the generated template so that it no longer includes the namespace resource. if theyre deploying through helm, helm will handle the namespace for them. if they're deploying through --extract_yamls, we can probably assume that they know how to create their own namespace first.
      
      if deploying through the CLI, we can still create the namespace for them if needed.
      
      Note: This will break new Vizier releases for older CLIs, since the old CLIs will still want the namespace YAML! however, more breaking changes are coming in followup diffs, so it's probably not worth extra changes to make sure this doesn't break old CLIs.
      
      Test Plan: ran `px deploy` with/without existing pl namespace.
      
      Reviewers: vihang, zasgar, nserrino
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2684
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8431
      
      GitOrigin-RevId: b170e1ed0e4a6a85ba7b081c1309a667225dfeed
      fd1b58c0
    • Yaxiong Zhao's avatar
      Change PIDRuntimeConnector to output multiple data tables · 2c5b9ff3
      Yaxiong Zhao authored
      Test Plan: Jenkins
      
      Reviewers: #stirling, jps
      
      Reviewed By: #stirling, jps
      
      Subscribers: oazizi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8415
      
      GitOrigin-RevId: 97e9ec09292da60e577fccecc8d51d43ca004c7e
      2c5b9ff3
    • Yaxiong Zhao's avatar
      Change SystemStatsConnector to output to multiple data tables · 0ccfb8e7
      Yaxiong Zhao authored
      Test Plan: Jenkins
      
      Reviewers: #stirling, oazizi
      
      Reviewed By: #stirling, oazizi
      
      Subscribers: oazizi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8414
      
      GitOrigin-RevId: d5adb73f9d539633f3b26086fb65cb3acc0b8b4c
      0ccfb8e7
    • Omid Azizi's avatar
      Restore Debug hooks · e9859ef9
      Omid Azizi authored
      Summary: This needs to be on the new TransferData() as well as the old one.
      
      Test Plan: Manual.
      
      Reviewers: #stirling, yzhao
      
      Reviewed By: #stirling, yzhao
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8428
      
      GitOrigin-RevId: 12bf5dc8b2d858f17b969a7d3355538b1fbec3cd
      e9859ef9
    • Vihang Mehta's avatar
      Rename vizierapipb folder and targets to vizierpb · 7d01df0d
      Vihang Mehta authored
      Summary: TSIA. This is more in line with our other protos.
      
      Test Plan: Existing tests.
      
      Reviewers: zasgar, michelle
      
      Reviewed By: michelle
      
      JIRA Issues: PP-2671
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8427
      
      GitOrigin-RevId: 97efd0404f8f0e827e7af9fad7807c6b140dd392
      7d01df0d
    • James Bartlett's avatar
      [SQL Normalization] Add ANTLR4 jar for generating parsers. · 879df3d6
      James Bartlett authored
      Summary: Adds antlr4 jar installation to chef.
      
      Test Plan: ran chef locally and it worked.
      
      Reviewers: zasgar, nserrino, michelle
      
      Reviewed By: michelle
      
      Subscribers: vihang
      
      JIRA Issues: PP-2658
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8379
      
      GitOrigin-RevId: b75af2621e93c55f9e361f21957449f5b4515d49
      879df3d6
    • Michelle Nguyen's avatar
      PP-2683 Don't hardcode namespace in Vizier · c381123f
      Michelle Nguyen authored
      Summary:
      We are updating Vizier so that it can run in any namespace. the first step to doing so is to update vizier so that it does not rely on any hardcoded "pl"s.
      instead, we should use the namespace that we can get from the pod metadata.
      
      Test Plan: created an rc, deployed it. updated vizier running on actual release version. verified all cases continue to work/updates worked.
      
      Reviewers: vihang, zasgar, nserrino
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2683
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8420
      
      GitOrigin-RevId: dc945ad85075052f8322e48fd4d8224332b521af
      c381123f
    • Vihang Mehta's avatar
      Remove unused parts of the "internal" vizier proto · b3502275
      Vihang Mehta authored
      Summary: TSIA
      
      Test Plan: Existing tests still pass.
      
      Reviewers: zasgar, michelle, nserrino
      
      Reviewed By: michelle
      
      JIRA Issues: PP-2661
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8419
      
      GitOrigin-RevId: 61016b2b9ad2c088e57063bd0dff566445208fdf
      b3502275
    • Vihang Mehta's avatar
      Rename cloudapipb folder and targets to cloudpb · a6df0c4b
      Vihang Mehta authored
      Summary: TSIA. This is more in line with our other protos.
      
      Test Plan: Existing tests.
      
      Reviewers: michelle, zasgar
      
      Reviewed By: michelle
      
      JIRA Issues: PP-2671
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8421
      
      GitOrigin-RevId: c1c4d617633108dadff408bbfee4cb2118cdc969
      a6df0c4b
    • Vihang Mehta's avatar
      Remove unused build rules · 6c83f3a8
      Vihang Mehta authored
      Summary:
      These are left over from the old python api process and the old vizier
      proto locations.
      
      Test Plan: Existing build and tests.
      
      Reviewers: zasgar, michelle
      
      Reviewed By: michelle
      
      JIRA Issues: PP-2671
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8423
      
      GitOrigin-RevId: 73ab605a2c130f9f3780bfe4d3e07cc113632aad
      6c83f3a8
    • James Bartlett's avatar
      Fix chef, by dropping sourcegraph lsif in favor of unpatched microsoft one. · 54fb8159
      James Bartlett authored
      Summary: Chef is failing because of some clownery by the people at the @sourcegraph/lsif-node repo. Replacing their version with the default microsoft package.
      
      Test Plan: ci/collect_and_upload_lsif.sh works. Tbh not sure how this will affect the lsif output.
      
      Reviewers: vihang, nlanam
      
      Reviewed By: vihang
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8409
      
      GitOrigin-RevId: e7240f73e0b5ed77cc5fb2d87f113733997701b7
      54fb8159
    • Vihang Mehta's avatar
      Check to see if changed file exists when triggering targets · b4dd4ff9
      Vihang Mehta authored
      Summary:
      git tells us about all changed files including ones that were deleted.
      When triggering all targets due to a change in a `BUILD.bazel` file, check for
      existence of the `BUILD.bazel` file so that we don't try to build and test removed
      targets.
      
      Test Plan: Ran the script with some folder renames.
      
      Reviewers: zasgar, oazizi, yzhao
      
      Reviewed By: yzhao
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8424
      
      GitOrigin-RevId: 3183e5b1ab679a3ce134cc7d7261498b4d6dbf35
      b4dd4ff9
    • Pete Stevenson's avatar
      scripts/create_gke_cluster.sh: add optional argument -z for zone. · c52a7c1e
      Pete Stevenson authored
      Summary:
      scripts/create_gke_cluster.sh: add optional argument -z for zone.
      
      We are adding an argument "-z" to specifiy the zone for the cluster. This is useful for the stirling perf eval flow because we want to run multiple perf evals in parallel (as a single experiement where we have a baseline and multiple perf experiments to evaluate). For isolation, sandboxing, and reproducibility, we spin-up and tear-down a new cluster for the individual experiments. Zone us-west1-a is oversubscribed by our team. Allowing the stirling perf eval flow to choose a different zone (it will use us-west1-b for now) enables the desired parallelism.
      
      Test Plan: Use case by stirling perf eval.
      
      Reviewers: #stirling, zasgar, vihang, michelle, oazizi
      
      Reviewed By: #stirling, oazizi
      
      Subscribers: oazizi
      
      JIRA Issues: PP-2555
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8422
      
      GitOrigin-RevId: 67b329d88f30ccbc7a99ea9993faff5e6351e0ae
      c52a7c1e
    • Yaxiong Zhao's avatar
      Add names to SourceConnector subclasses · 1c11ce8f
      Yaxiong Zhao authored
      Test Plan: Jenkins
      
      Reviewers: #stirling, oazizi
      
      Reviewed By: #stirling, oazizi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8404
      
      GitOrigin-RevId: 14ad3daed873724d558e1837e86bca0fb8413a62
      1c11ce8f
    • Yaxiong Zhao's avatar
      ProcStatConnector output multiple tables · 52de5760
      Yaxiong Zhao authored
      Test Plan: Jenkins
      
      Reviewers: #stirling, jps
      
      Reviewed By: #stirling, jps
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8417
      
      GitOrigin-RevId: 84ac27b3bba97fbb2264007ec5438cdea0ae9451
      52de5760
    • Zain Asgar's avatar
      PC-865 - Create deploy keys from the Go Client API · 856e37b2
      Zain Asgar authored
      Summary: Allow the Go client API to create deploy keys.
      
      Test Plan: Added an example program and ran tests manually. Will add unit tests to this soon.
      
      Reviewers: vihang, michelle
      
      Reviewed By: vihang
      
      JIRA Issues: PC-865
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8412
      
      GitOrigin-RevId: 9940c00958fdcaf96a9a6e184e461c06ec7679d8
      856e37b2
    • Omid Azizi's avatar
      [Cleanup] ConnTracker timestamps · 9e5bd668
      Omid Azizi authored
      Summary: Tidying up a bit. Simplifying some logic.
      
      Test Plan: Existing tests. Should only affect CONN_TRACE logs, so risk is low.
      
      Reviewers: #stirling, yzhao
      
      Reviewed By: #stirling, yzhao
      
      Subscribers: yzhao
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8351
      
      GitOrigin-RevId: 4509cd87365dfeb63ca2cbc7dc563a338ff3b628
      9e5bd668
    • Omid Azizi's avatar
      Fewer calls to now(): part 4 · 97e606f0
      Omid Azizi authored
      Summary:
      Removes all instances of now() in ConnTracker.
      
      Call to now() to be passed in and can be shared across all ConnTrackers.
      
      Test Plan: Existing tests
      
      Reviewers: #stirling, yzhao
      
      Reviewed By: #stirling, yzhao
      
      Subscribers: yzhao
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8349
      
      GitOrigin-RevId: 27eb2c7a789142b16e364ae1a0579ee990bd441d
      97e606f0
  2. 26 Apr, 2021 14 commits
  3. 24 Apr, 2021 3 commits
    • Michelle Nguyen's avatar
      PP-2653 Add skaffold file for operator · 53cf65c9
      Michelle Nguyen authored
      Summary:
      deploying the operator through skaffold will speed up the development process.
      this diff just adds the skaffold file.
      
      Test Plan: ran `skaffold run -f skaffold/skaffold_operator.yaml`, verified that the operator starts up and runs.
      
      Reviewers: vihang, zasgar
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2653
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8391
      
      GitOrigin-RevId: 619dbb71ad282a696816f2d51f275d294f1c0f10
      53cf65c9
    • Zain Asgar's avatar
      Update badges in readme · 69454079
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: n/a
      
      Reviewers: vihang
      
      Reviewed By: vihang
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8390
      
      GitOrigin-RevId: 18c636633d10201452a29e91fb69bbd230d4f782
      69454079
    • Pete Stevenson's avatar
      perf_profile_connector.h|cc: prep. work to filter out non-k8s processes from... · b17dc5e9
      Pete Stevenson authored
      perf_profile_connector.h|cc: prep. work to filter out non-k8s processes from symbolization in the perf. profiler. Make md::UPID a member of SymbolicStackTrace, pass ctx into AggregateStackTraces()
      
      Summary: perf_profile_connector.h|cc: prep. work to filter out non-k8s processes from symbolization in the perf. profiler. Make md::UPID a member of SymbolicStackTrace, pass ctx into AggregateStackTraces()
      
      Test Plan: Existing tests.
      
      Reviewers: #stirling, oazizi
      
      Reviewed By: #stirling, oazizi
      
      JIRA Issues: PP-2555, PP-2621
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8384
      
      GitOrigin-RevId: 2d0f9bdb536203d098041b6d86eaa098842c8f05
      b17dc5e9
  4. 23 Apr, 2021 5 commits
    • Nick Lanam's avatar
      [PC-674] Implement deep linking in /admin. · a7312be8
      Nick Lanam authored
      Summary:
      `/admin` now redirects to `/admin/cluster` (`/admin/cluster/somename` still works). There is also a `/admin/deployment-keys` and `/admin/api-keys`. The tab headers correspond to these new links.
      This also gets rid of needless nesting of `<Router>` and cleans up lint/type warnings in touched files. Scouts' rule, and all that.
      
      Test Plan: Try directly browsing to `/admin`, `/admin/api-keys`, and going to the admin page from the Live view (which goes to `/admin`). The API Keys link should directly open that tab; clicking a different tab should update the URL accordingly.
      
      Reviewers: michelle, vihang
      
      Reviewed By: michelle
      
      JIRA Issues: PC-546, PC-674
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8372
      
      GitOrigin-RevId: d95a967ccdc87c47d7d49b0c483368bf613a8c0e
      a7312be8
    • Zain Asgar's avatar
      Move coverage token to be a secret · cd854b12
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: jenkins
      
      Reviewers: vihang
      
      Reviewed By: vihang
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8386
      
      GitOrigin-RevId: b6d92a3a83156052baec2f3f1f7de307eb90eb78
      cd854b12
    • Michelle Nguyen's avatar
      PP-2651 Add YAMLs for operator · 52bca213
      Michelle Nguyen authored
      Summary:
      a typical operator deployment has:
      - the operator deployment to launch the operator pod
      - the service account associated with the operator
      - clusterroles/clusterrolebindings that allow the operator to modify resources in the cluster.
      
      the clusterroles I included here are the same clusterrules we require for our updaterjob + our new Vizier CRD.
      
      Test Plan: deployed the operator with these YAMLs
      
      Reviewers: vihang, zasgar
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2651
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8368
      
      GitOrigin-RevId: 9288579fb6d267de35e35d50b4699d6b1f48b1ea
      52bca213
    • Michelle Nguyen's avatar
      PP-2650 Add initial boilerplate for operator · dc17199f
      Michelle Nguyen authored
      Summary:
      Adding initial boilerplate for our Vizier operator, based off of the generated kubebuilder project.
      kubebuilder generated:
      - contents of operator directory
      - k8s/operator/crd
      I heavily modified the contents of the operator directory to remove the additional items we didnt need and made it work with our build system. removed most of the items in the Makefile except for the commands that help generate the k8s crd yaml and generated go files.
      
      Test Plan: deployed the crd, deployed the operator, and deployed an instance of the Vizier custom resource. verified that the operator detected the change and triggered the "Reconcile" function.
      
      Reviewers: zasgar, vihang, #third_party_approvers
      
      Reviewed By: vihang, #third_party_approvers
      
      JIRA Issues: PP-2650
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8367
      
      GitOrigin-RevId: 2c0ae0e45c97309258f083eea5d33acb2fc15578
      dc17199f
    • Zain Asgar's avatar
      PP-2612 - Ignore experimental folder if it does not exist · bfcdf754
      Zain Asgar authored
      Summary: Allow bazel_ci script to work even if experimental directory is missing.
      
      Test Plan: jenkins
      
      Reviewers: vihang
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2612
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8385
      
      GitOrigin-RevId: 20fa1fd2debe44d15c7d9274e020133ce1e778ca
      bfcdf754