Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Update container dir name to align with deployment image names
Browse files Browse the repository at this point in the history
1. Update container dir name
2. Update deployment guide

Signed-off-by: Hao, Ruomeng <ruomeng.hao@intel.com>
  • Loading branch information
ruomengh committed Jan 3, 2024
1 parent def730b commit 39393d0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ TBD

The following scripts can help to generate CCNP images and deploy them in the TD nodes.

- [image-manager.sh](../deployment/script/image-manager.sh): The tool will build 5 images and push them to remote registry if required.
- [build.sh](../container/build.sh): The tool will build docker images and push them to remote registry if required.
- [deploy-ccnp.sh](../deployment/script/deploy-ccnp.sh): The tool will deploy CCNP services as DaemonSet on TDs in the K8S cluster.
- [deploy-and-exec-ccnp-example.sh](../deployment/script/deploy-and-exec-ccnp-example.sh): The tool will deploy an example pod and show getting event logs, measurement and perform verification using CCNP in the pod.

Expand Down Expand Up @@ -61,21 +61,21 @@ Run below scripts to generate CCNP images. It will generate 5 images and push th
_NOTE: The scripts need to run on a server with docker installed._

```
$ cd scripts
$ sudo ./image-manager.sh -r <remote registry> -g <docker image tag>
$ cd container
$ sudo ./build.sh -r <remote registry> -g <docker image tag>
e.g.
# Build images with tag 0.3 and push them to remote registry test-registry.intel.com
$ sudo ./image-manager.sh -r test-registry.intel.com/test -g 0.3
$ sudo ./build.sh -r test-registry.intel.com/test -g 0.3
# Build images only with tag 0.3
$ sudo ./image-manager.sh -a build -g 0.3
$ sudo ./build.sh -a build -g 0.3
```

_NOTE: please set `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` in your terminal if they are needed in your environments._

After the script is successful, it's supposed to see below docker images.
After the script is successful, it's supposed to see below docker images for CCNP.

```
$ sudo docker images
Expand Down
Binary file modified docs/ccnp-deployment-process.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39393d0

Please sign in to comment.