Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement native OpenTelemetry infrastructure #1461

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions kubernetes/base/cas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: nativelink-cas
labels:
app: nativelink-cas
app.kubernetes.io/part-of: nativelink
spec:
replicas: 1
selector:
Expand All @@ -12,6 +15,7 @@ spec:
metadata:
labels:
app: nativelink-cas
app.kubernetes.io/part-of: nativelink
spec:
containers:
- name: nativelink-cas
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/base/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: nativelink-scheduler
labels:
app: nativelink-scheduler
app.kubernetes.io/part-of: nativelink
spec:
replicas: 1
selector:
Expand All @@ -12,6 +15,7 @@ spec:
metadata:
labels:
app: nativelink-scheduler
app.kubernetes.io/part-of: nativelink
spec:
containers:
- name: nativelink-scheduler
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/base/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: nativelink-worker
labels:
app: nativelink-scheduler
app.kubernetes.io/part-of: nativelink
spec:
replicas: 3
selector:
Expand All @@ -12,6 +15,7 @@ spec:
metadata:
labels:
app: nativelink-worker
app.kubernetes.io/part-of: nativelink
spec:
initContainers:
- name: nativelink-worker-init
Expand Down
35 changes: 35 additions & 0 deletions kubernetes/components/cert-manager/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
labels:
toolkit.fluxcd.io/tenant: sre-team
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cert-manager
namespace: cert-manager
spec:
interval: 24h
url: https://charts.jetstack.io
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: cert-manager
namespace: cert-manager
spec:
interval: 30m
chart:
spec:
chart: cert-manager
version: "1.x"
sourceRef:
kind: HelmRepository
name: cert-manager
namespace: cert-manager
interval: 12h
values:
installCRDs: true
5 changes: 5 additions & 0 deletions kubernetes/components/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- cert-manager.yaml
5 changes: 5 additions & 0 deletions kubernetes/components/nats-kafka/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- nats-kafka.yaml
Loading
Loading