Skip to content

Commit

Permalink
fix: update agent image repository in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Feb 6, 2025
1 parent 50f7967 commit cc1bc74
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/local-k8s-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FLEET_URL=https://<fleet host>:443
FLEET_ENROLLMENT_TOKEN=<enrollment token>
```

### Run agent
### Run agent

In order to just deploy agent on your local cluster, open a terminal and then execute

Expand All @@ -49,7 +49,7 @@ and the output should be something similar to this:
Generating tags...
...
Checking cache...
- docker.elastic.co/beats/elastic-agent: Found Locally
- docker.elastic.co/elastic-agent/elastic-agent: Found Locally
Starting test...
Starting pre-render hooks...
Completed pre-render hooks
Expand Down Expand Up @@ -104,7 +104,7 @@ Images loaded in 35.802479ms
Waiting for deployments to stabilize...
Deployments stabilized in 7.654873ms
Listing files to watch...
- docker.elastic.co/beats/elastic-agent
- docker.elastic.co/elastic-agent/elastic-agent
Press Ctrl+C to exit
Not watching for changes...
WARN[0003] unable to get owner from reference: {apps/v1 DaemonSet elastic-agent-standalone 0c579ec4-319a-4e85-99ec-c409260cb6ce 0xc000f950a0 0xc000f950a1} subtask=-1 task=DevLoop
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ If you remove the `create_directory: true` option, you'll need to manually creat
By default, when running Elastic Distribution for OpenTelemetry Collector in Docker, checkpoints are stored in `/usr/share/elastic-agent/otel_registry` by default. To ensure data persists across container restarts, you can use the following command:

```bash
docker run --rm -ti --entrypoint="elastic-agent" --mount type=bind,source=/path/on/host,target=/usr/share/elastic-agent/otel_registry docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT otel
docker run --rm -ti --entrypoint="elastic-agent" --mount type=bind,source=/path/on/host,target=/usr/share/elastic-agent/otel_registry docker.elastic.co/elastic-agent/elastic-agent:9.0.0-SNAPSHOT otel
```

### Known issues:
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/otel/templates/README.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ If you remove the `create_directory: true` option, you'll need to manually creat
By default, when running Elastic Distribution for OpenTelemetry Collector in Docker, checkpoints are stored in `/usr/share/elastic-agent/otel_registry` by default. To ensure data persists across container restarts, you can use the following command:

```bash
docker run --rm -ti --entrypoint="elastic-agent" --mount type=bind,source=/path/on/host,target=/usr/share/elastic-agent/otel_registry docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT otel
docker run --rm -ti --entrypoint="elastic-agent" --mount type=bind,source=/path/on/host,target=/usr/share/elastic-agent/otel_registry docker.elastic.co/elastic-agent/elastic-agent:9.0.0-SNAPSHOT otel
```

### Known issues:
Expand Down
8 changes: 4 additions & 4 deletions pkg/testing/kubernetes/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ var variants = []struct {
}{
{
Name: "basic",
Image: "docker.elastic.co/beats/elastic-agent",
Image: "docker.elastic.co/elastic-agent/elastic-agent",
},
{
Name: "wolfi",
Image: "docker.elastic.co/beats/elastic-agent-wolfi",
Image: "docker.elastic.co/elastic-agent/elastic-agent-wolfi",
},
{
Name: "complete",
Image: "docker.elastic.co/beats/elastic-agent-complete",
Image: "docker.elastic.co/elastic-agent/elastic-agent-complete",
},
{
Name: "complete-wolfi",
Image: "docker.elastic.co/beats/elastic-agent-complete-wolfi",
Image: "docker.elastic.co/elastic-agent/elastic-agent-complete-wolfi",
},
{
Name: "cloud",
Expand Down
2 changes: 1 addition & 1 deletion skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
useBuildkit: false
useDockerCLI: true
artifacts:
- image: docker.elastic.co/beats/elastic-agent
- image: docker.elastic.co/elastic-agent/elastic-agent
docker:
dockerfile: Dockerfile.skaffold
noCache: false
Expand Down

0 comments on commit cc1bc74

Please sign in to comment.