Commit 77e73b09 authored by fleischmann's avatar fleischmann
Browse files
parent 9fbc6a77
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -197,10 +197,12 @@ For more details on the current operation, run "osm ns-op-show OPERATION_ID"
The network service should be removed fine, without leaving models behind.

## Kubernetes Features
### [K8S-01} Kubernetes Proxy Charms

### [K8S-01] Kubernetes Proxy Charms

This feature is only supported in the Charmed Installation and the Kubernetes Installation. Therefore make sure you have one of either installed.

Clone the osm-packages repository and download the submodules:
1. Clone the osm-packages repository and download the submodules:

```bash
git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git
@@ -208,7 +210,7 @@ cd osm-packages
git submodule update --init
```

Build the hackfest_k8sproxycharm Packages and upload them:
2. Build the hackfest_k8sproxycharm Packages and upload them:

```bash
tar -czf hackfest_k8sproxycharm_vnf.tar.gz hackfest_k8sproxycharm_vnf/
@@ -217,28 +219,28 @@ osm upload-package hackfest_k8sproxycharm_vnf.tar.gz
osm upload-package hackfest_k8sproxycharm_ns.tar.gz
```

Create the Network Service:
3. Create the Network Service:

```bash
osm ns-create --ns_name hf-k8s --nsd_name hackfest_k8sproxycharm-ns --vim_account openstack --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }'
```

Wait until the Network Service is in the READY State:
4. Wait until the Network Service is in the READY State:

```bash
osm ns-list
```

Once the Network Service is ready execute the following action:
5. Once the Network Service is ready execute the following action:

```bash
osm ns-action hf-k8s --vnf_name 1 --action_name touch --params '{filename: /home/ubuntu/mytouch1}'
```

Wait until the action is in COMPLETED state:
6. Wait until the action is in COMPLETED state:

```bash
osm ns-op-list hf-k8s
```

SSH into VNF 1  and make sure that the `firsttouch` and `mytouch1` files have been created.
 No newline at end of file
7. SSH into VNF 1  and make sure that the `firsttouch` and `mytouch1` files have been created.