Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SONiC version, remove workaround, and improve README #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stratum/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: stratum
version: 0.2.0
version: 0.2.1
kubeVersion: ">=1.12.0"
type: application
keywords:
Expand Down
7 changes: 4 additions & 3 deletions stratum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pre-built SONiC installers can be found [here](https://github.com/stratum/sonic-

To install SONiC on the switch, please follow [this installation guide](https://github.com/sonic-net/SONiC/wiki/Quick-Start#installation).

Note: The minimum version is 2022-07-28
Note: The minimum version is 2022-08-12

## Kubernetes

Expand All @@ -23,10 +23,11 @@ Note: The minimum version is 1.17.5

## Disable SONiC services

Before provisioning Stratum on switches, you need to stop SONiC services on the switch with the following command:
Before provisioning Stratum on switches, you need to stop and disable SONiC services on the switch with the following command:

```bash
sudo systemctl stop sonic.target
sudo systemctl stop sonic.target sonic-delayed.target
sudo systemctl disable sonic.target sonic-delayed.target
```

## Provide Chassis Config
Expand Down
5 changes: 3 additions & 2 deletions stratum/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
env:
- name: CFG_MOUNT
value: {{ $configDir }}
command: ["/usr/bin/stratum/startup"]
command: ["/usr/bin/stratum-startup"]
tty: true
stdin: true
securityContext:
Expand All @@ -83,8 +83,9 @@ spec:
# For chassis config loader
- mountPath: {{ $configDir }}
name: config-dir
- mountPath: /usr/bin/stratum
- mountPath: /usr/bin/stratum-startup
name: configmap-startup
subPath: stratum-startup
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . | quote }}
Expand Down