File tree 4 files changed +29
-3
lines changed
4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " default" ,
3
+ "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
4
+ "features" : {
5
+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {
6
+ "version" : " latest"
7
+ },
8
+ "ghcr.io/devcontainers/features/python:1" : {
9
+ "version" : " 3.12.1" ,
10
+ },
11
+ },
12
+ "overrideFeatureInstallOrder" : [
13
+ " ghcr.io/devcontainers/features/python" ,
14
+ " ghcr.io/devcontainers/features/docker-in-docker" ,
15
+ ]
16
+ }
17
+
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ pyenv.cfg
4
4
.DS_Store
5
5
* otelcol-config-extras * .yml
6
6
* test *
7
- * secret *
7
+ * secret *
8
+ * scratchpad *
Original file line number Diff line number Diff line change 1
- version : ' 0.1'
2
1
x-default-logging : &logging
3
2
options :
4
3
max-size : " 5m"
Original file line number Diff line number Diff line change 6
6
7
7
# Install KinD
8
8
[ $( uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
9
+ [ $( uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-arm64
10
+
9
11
chmod +x ./kind
10
12
sudo mv ./kind /usr/local/bin/kind
11
13
kind --version
12
14
13
15
# Create KinD cluster
14
- kind create cluster --name otel-target-allocator-talk
16
+ kind create cluster --name otel-target-allocator-talk
17
+
18
+ # Install kubectl
19
+ [ $( uname -m) = x86_64 ] && curl -LO " https://dl.k8s.io/release/$( curl -L -s https://dl.k8s.io/release/stable.txt) /bin/linux/amd64/kubectl"
20
+ [ $( uname -m) = aarch64 ] && curl -LO " https://dl.k8s.io/release/$( curl -L -s https://dl.k8s.io/release/stable.txt) /bin/linux/arm64/kubectl"
21
+
22
+ chmod +x ./kubectl
23
+ sudo mv ./kubectl /usr/local/bin/kubectl
You can’t perform that action at this time.
0 commit comments