summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2024-11-06 20:44:46 +0800
committerfumingwei <[email protected]>2024-11-07 10:32:45 +0800
commit3537c65b150d287d04491f2dda65d3005ec34175 (patch)
treef76cd2cf5153281a7bff8d65cbee23dc64442c7c /README.md
parentdb1eff5d0ea8f39aa01d2f0232a18374303e4472 (diff)
refactor:Save multi image into one tar file.HEADv2.0.11master
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index ce92619..430a6ac 100644
--- a/README.md
+++ b/README.md
@@ -12,19 +12,14 @@ dnf install tsg-diagnose
### Docker
If you have installed TSG Diagnose with Docker support, you can use the following command to build the TSG Diagnose runtime environment.
```bash
-docker load < /opt/tsg/tsg-diagnose/images/tsg_diagnose_server_web.tar
-docker load < /opt/tsg/tsg-diagnose/images/tsg_diagnose_server_dns.tar
-docker load < /opt/tsg/tsg-diagnose/images/tsg_diagnose_client.tar
+docker load < /opt/tsg/tsg-diagnose/images/tsg-diagnose-images.tar
docker-compose down --remove-orphans; docker-compose up -d --remove-orphans
```
### k3s
If you have installed TSG Diagnose with k3s support, you can use the following command to build the TSG Diagnose runtime environment.
```bash
-k3s ctr image import /opt/tsg/tsg-diagnose/images/tsg_diagnose_server_web.tar
-k3s ctr image import /opt/tsg/tsg-diagnose/images/tsg_diagnose_server_dns.tar
-k3s ctr image import /opt/tsg/tsg-diagnose/images/tsg_diagnose_client.tar
-kubectl apply -f /opt/tsg/tsg-diagnose/k8s-resource/tsg-diagnose-client.yaml
-kubectl apply -f /opt/tsg/tsg-diagnose/k8s-resource/tsg-diagnose-server.yaml
+k3s ctr image import /opt/tsg/tsg-diagnose/images/tsg-diagnose-images.tar
+kubectl apply -f /opt/tsg/tsg-diagnose/k8s-resource/tsg-diagnose.yaml
```
## Usage
There are two commands available to run TSG Diagnose: