Skip to content

Commit fa660e1

Browse files
committed
feat(helm): new chart design
Signed-off-by: SkalaNetworks <[email protected]>
1 parent ee6e590 commit fa660e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+7360
-63
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ kubectl-ko-log.tar.gz
1616
kube-apiserver-audit.log
1717
kube-apiserver-audit.json
1818
kube-ovn.yaml
19-
kube-ovn-crd.yaml
2019
ovn.yaml
2120
ovn-ic-controller.yaml
2221
ovn-ic-server.yaml

charts/kube-ovn-v2/Chart.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: v2
2+
name: kube-ovn
3+
description: Helm chart for Kube-OVN
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: 2.0.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
# It is recommended to use it with quotes.
24+
appVersion: "1.14.0"
25+
26+
kubeVersion: ">= 1.29.0-0"

charts/kube-ovn-v2/README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Kube-OVN-helm
2+
3+
Currently supported version: 1.9
4+
5+
Installation :
6+
7+
```bash
8+
$ kubectl label node -lbeta.kubernetes.io/os=linux kubernetes.io/os=linux --overwrite
9+
$ kubectl label node -lnode-role.kubernetes.io/control-plane kube-ovn/role=master --overwrite
10+
$ kubectl label node -lovn.kubernetes.io/ovs_dp_type!=userspace ovn.kubernetes.io/ovs_dp_type=kernel --overwrite
11+
12+
# standard install
13+
$ helm install --debug kubeovn ./charts/kube-ovn --set MASTER_NODES=${Node0}
14+
15+
# high availability install
16+
$ helm install --debug kubeovn ./charts/kube-ovn --set MASTER_NODES=${Node0},${Node1},${Node2}
17+
18+
# upgrade to this version
19+
$ helm upgrade --debug kubeovn ./charts/kube-ovn --set MASTER_NODES=${Node0},${Node1},${Node2}
20+
```
21+
22+
If `MASTER_NODES` unspecified Helm will take internal IPs of nodes with `kube-ovn/role=master` label
23+
24+
### Talos Linux
25+
26+
To install Kube-OVN on Talos Linux, declare openvswitch module in machine config:
27+
28+
```
29+
machine:
30+
kernel:
31+
modules:
32+
- name: openvswitch
33+
```
34+
35+
and use the following options to install this Helm-chart:
36+
37+
```
38+
--set cni_conf.MOUNT_LOCAL_BIN_DIR=false
39+
--set OPENVSWITCH_DIR=/var/lib/openvswitch
40+
--set OVN_DIR=/var/lib/ovn
41+
--set DISABLE_MODULES_MANAGEMENT=true
42+
```

0 commit comments

Comments
 (0)