Skip to content

Commit

Permalink
deployment: remove ccnp device plugin
Browse files Browse the repository at this point in the history
device plugin is not needed since configfs-tsm is supported and the
service sock can be added by ccnp webhook

Signed-off-by: Xiaocheng Dong <[email protected]>
  • Loading branch information
dongx1x committed Apr 28, 2024
1 parent ece9bd4 commit d43e7de
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 800 deletions.
4 changes: 2 additions & 2 deletions container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ There are several docker image files in the sub directories of current directory

| Sub directory | Image name | Description |
|---|---|---|
| ccnp-device-plugin | ccnp-device-plugin | CCNP Device plugin |
| ccnp-webhook | ccnp-webhook | CCNP webhook |
| ccnp-server | ccnp-server | CCNP server |
| ccnp-example | ccnp-example | Example image of getting eventlog and measurement using CCNP SDK |
| pccs | pccs | PCCS docker image for Intel® TDX remote attestation. Not required for CCNP usage.|
Expand Down Expand Up @@ -57,5 +57,5 @@ After the script is running successfully, it's supposed to see corresponding CCN
$ sudo docker images
ccnp-example <your image tag>
ccnp-server <your image tag>
ccnp-device-plugin <your image tag>
ccnp-webhook <your image tag>
```
17 changes: 0 additions & 17 deletions container/ccnp-device-plugin/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ After the script is executed successfully, it's supposed to see below docker ima
$ sudo docker images
ccnp-example <your image tag>
ccnp-server <your image tag>
ccnp-device-plugin <your image tag>
ccnp-webhook <your image tag>
```
## Setup QGS and PCCS on the Host
Expand Down
10 changes: 4 additions & 6 deletions deployment/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,16 @@ $ sudo ./deploy-ccnp.sh -r <remote registry> -g <tag> -d
```

After it's successful, you should see helm release `ccnp-device-plugin` and 3 DaemonSets in namespace `ccnp`.
After it's successful, you should see DaemonSet in namespace `ccnp`.

```
$ sudo helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
ccnp-device-plugin default 1 2023-12-27 08:12:05.814766198 +0000 UTC deployed ccnp-device-plugin-0.1.0 latest
$ sudo kubectl get ds -n ccnp
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
ccnp-server 1 1 1 1 1 intel.feature.node.kubernetes.io/tdx-guest=enabled 24h
$ sudo kubectl get pods -n ccnp
NAME READY STATUS RESTARTS AGE
ccnp-server-mqfjx 1/1 Running 2 (39s ago) 24h
NAME READY STATUS RESTARTS AGE
ccnp-webhook-74f88647bd-d4hmk 1/1 Running 0 91m
ccnp-server-h7t46 1/1 Running 0 90m
```

## CCNP Usage Example
Expand Down
14 changes: 0 additions & 14 deletions device-plugin/ccnp-device-plugin/Makefile

This file was deleted.

150 changes: 0 additions & 150 deletions device-plugin/ccnp-device-plugin/README.md

This file was deleted.

54 changes: 0 additions & 54 deletions device-plugin/ccnp-device-plugin/cmd/server/app.go

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d43e7de

Please sign in to comment.