-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: Seaweedfs as Minio replacement #11965
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
Merged
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
fde4d3a
initial seaweedfs code
juliusvonkohout 5ee8cab
add initial security tests.
juliusvonkohout 4b8610b
add initial security tests.
juliusvonkohout ee6938a
Update seaweedfs-create-admin-user-job.yaml
juliusvonkohout e5b5bc7
Update seaweedfs-deployment.yaml
juliusvonkohout b347e58
chore: Replace minio with seaweedfs (#11987)
akagami-harsh 1d60772
Potential fix for code scanning alert no. 131: Workflow does not cont…
juliusvonkohout 63c70ff
Update seaweedfs-deployment.yaml
juliusvonkohout a79e235
chore: Add SeaweedFS gateway to remote object storage documentation (…
akagami-harsh 293cd13
Address review comments from PR #11965 (#12080)
akagami-harsh 23bb205
chore: remove minio gcp gateway (#12068)
akagami-harsh 3d4c2f1
Fix samples-test workflow (#12107)
akagami-harsh fd3d109
Update manifests/kustomize/third-party/seaweedfs/OWNERS
juliusvonkohout 75375fd
Address review comments from PR #11965 (#12140)
akagami-harsh 4eac734
Fix failing backend test (#12149)
akagami-harsh 6d211e3
chore: Update seaweedfs pvc volume size (#12156)
akagami-harsh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.github/resources/manifests/argo/overlays/multi-user-minio/apiserver-env.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ml-pipeline | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: ml-pipeline-api-server | ||
env: | ||
- name: V2_DRIVER_IMAGE | ||
value: kind-registry:5000/driver | ||
- name: V2_LAUNCHER_IMAGE | ||
value: kind-registry:5000/launcher | ||
- name: LOG_LEVEL | ||
value: "debug" |
19 changes: 19 additions & 0 deletions
19
.github/resources/manifests/argo/overlays/multi-user-minio/kustomization.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../../../../../manifests/kustomize/env/platform-agnostic-multi-user-minio | ||
|
||
images: | ||
- name: ghcr.io/kubeflow/kfp-api-server | ||
newName: kind-registry:5000/apiserver | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-persistence-agent | ||
newName: kind-registry:5000/persistenceagent | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-scheduled-workflow-controller | ||
newName: kind-registry:5000/scheduledworkflow | ||
newTag: latest | ||
|
||
patchesStrategicMerge: | ||
- apiserver-env.yaml |
16 changes: 16 additions & 0 deletions
16
.github/resources/manifests/argo/overlays/multi-user/apiserver-env.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ml-pipeline | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: ml-pipeline-api-server | ||
env: | ||
- name: V2_DRIVER_IMAGE | ||
value: kind-registry:5000/driver | ||
- name: V2_LAUNCHER_IMAGE | ||
value: kind-registry:5000/launcher | ||
- name: LOG_LEVEL | ||
value: "debug" |
19 changes: 19 additions & 0 deletions
19
.github/resources/manifests/argo/overlays/multi-user/kustomization.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../../../../../manifests/kustomize/env/platform-agnostic-multi-user | ||
|
||
images: | ||
- name: ghcr.io/kubeflow/kfp-api-server | ||
newName: kind-registry:5000/apiserver | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-persistence-agent | ||
newName: kind-registry:5000/persistenceagent | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-scheduled-workflow-controller | ||
newName: kind-registry:5000/scheduledworkflow | ||
newTag: latest | ||
|
||
patchesStrategicMerge: | ||
- apiserver-env.yaml |
16 changes: 16 additions & 0 deletions
16
.github/resources/manifests/argo/overlays/no-proxy-minio/apiserver-env.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ml-pipeline | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: ml-pipeline-api-server | ||
env: | ||
- name: V2_DRIVER_IMAGE | ||
value: kind-registry:5000/driver | ||
- name: V2_LAUNCHER_IMAGE | ||
value: kind-registry:5000/launcher | ||
- name: LOG_LEVEL | ||
value: "debug" |
19 changes: 19 additions & 0 deletions
19
.github/resources/manifests/argo/overlays/no-proxy-minio/kustomization.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../../../../../manifests/kustomize/env/platform-agnostic-minio | ||
|
||
images: | ||
- name: ghcr.io/kubeflow/kfp-api-server | ||
newName: kind-registry:5000/apiserver | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-persistence-agent | ||
newName: kind-registry:5000/persistenceagent | ||
newTag: latest | ||
- name: ghcr.io/kubeflow/kfp-scheduled-workflow-controller | ||
newName: kind-registry:5000/scheduledworkflow | ||
newTag: latest | ||
|
||
patches: | ||
- path: apiserver-env.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,3 @@ images: | |
|
||
patches: | ||
- path: apiserver-env.yaml | ||
- path: workflow-disable-logs-patch.yaml |
20 changes: 0 additions & 20 deletions
20
.github/resources/manifests/argo/overlays/no-proxy/workflow-disable-logs-patch.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
# This script frees up disk space on GitHub Actions runners. | ||
# Several GHA workflows were failing with "no space left on device" errors. | ||
# This script is only meant to run in GitHub Actions CI environment. | ||
|
||
# Safety check: Only run on GitHub Actions | ||
if [[ "${GITHUB_ACTIONS:-false}" != "true" ]]; then | ||
HumairAK marked this conversation as resolved.
Show resolved
Hide resolved
|
||
echo "ERROR: This script is for GitHub Actions runners only!" | ||
exit 1 | ||
fi | ||
|
||
echo "=== Initial disk usage ===" | ||
df -h | ||
|
||
echo "=== Freeing up disk space ===" | ||
|
||
# Remove large directories not needed for KFP tests | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf /usr/local/share/boost | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /usr/local/.ghcup | ||
sudo rm -rf /usr/share/swift | ||
|
||
# Selectively remove large tools from hostedtoolcache while preserving Go, Node, Python | ||
# Remove these specific large tools that aren't needed for KFP tests | ||
sudo rm -rf /opt/hostedtoolcache/CodeQL || true | ||
HumairAK marked this conversation as resolved.
Show resolved
Hide resolved
|
||
sudo rm -rf /opt/hostedtoolcache/Java_* || true | ||
sudo rm -rf /opt/hostedtoolcache/Ruby || true | ||
sudo rm -rf /opt/hostedtoolcache/PyPy || true | ||
sudo rm -rf /opt/hostedtoolcache/boost || true | ||
|
||
# Clean package manager | ||
sudo apt-get autoremove -y | ||
sudo apt-get autoclean | ||
|
||
# Clean Docker | ||
docker system prune -af --volumes | ||
docker image prune -af | ||
|
||
# Clean containerd | ||
sudo systemctl stop containerd || true | ||
sudo rm -rf /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/* || true | ||
sudo systemctl start containerd || true | ||
|
||
echo "=== Final disk usage ===" | ||
df -h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.