Skip to content

Commit 01e5db7

Browse files
OpenNebula/one#7958: Fixed errors in OneKS guides (#818)
This PR includes some fixes to the OneKS documentation prompted by some errors noticed by a user.
1 parent 8b19d56 commit 01e5db7

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

content/platform_services/oneks/getting_started/basic_configuration.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,25 @@ Verify that the OneKS service is running. On the command line of your OpenNebula
1919
sudo systemctl status opennebula-ks.service
2020
```
2121

22-
The service should be in the active (`running`) state.
22+
The service should be in the active (`running`) state.
23+
24+
* If the service is inactive, start it:
25+
26+
```shell
27+
sudo systemctl start opennebula-ks.service
28+
```
29+
30+
* If the service is in a failed state, try restarting it:
31+
32+
```shell
33+
sudo systemctl restart opennebula-ks.service
34+
```
35+
36+
* If the service is not found, you may need to install the OneKS package:
37+
38+
```shell
39+
sudo apt install -y opennebula-ks
40+
```
2341

2442
## OneGate Service
2543

@@ -172,7 +190,7 @@ The generated image is used by the Seed VM to start the K8s Cluster deployment p
172190
The appliance name and ID can be configured from the control-plane spec configuration file:
173191

174192
```default
175-
/var/lib/one/oneks/controlplane/general/controlplane.conf
193+
/var/lib/one/oneks/controlplanes/general/controlplane.conf
176194
```
177195

178196
You can also configure the datastore where the appliance image will be stored. This datastore must be accessible by the OpenNebula Hosts where the K8s Cluster VMs will be deployed.

content/platform_services/oneks/management/customizing_specs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ OpenNebula Elastic Kubernetes Service (OneKS) defines Kubernetes deployment prof
1414
Profiles are used by both control-plane and node-group profiles. By default, the OneKS profile configuration files are located in the following paths:
1515

1616
```default
17-
/var/lib/one/oneks/controlplane/general/controlplane.conf
18-
/var/lib/one/oneks/nodegroup/general/nodegroup.conf
17+
/var/lib/one/oneks/controlplanes/general/controlplane.conf
18+
/var/lib/one/oneks/nodegroups/general/nodegroup.conf
1919
```
2020

2121
After changing a profile configuration, restart the OneKS service so the updated profile definition is loaded. For service commands, see [Service Management]({{% relref "platform_services/oneks/management/configuration/#service-management" %}}).

0 commit comments

Comments
 (0)