forked from OtowoOrg/Stellar-K8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkrew-plugin.yaml
More file actions
71 lines (68 loc) · 2.59 KB
/
krew-plugin.yaml
File metadata and controls
71 lines (68 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: stellar
spec:
version: v0.1.0
shortDescription: Manage Stellar nodes in Kubernetes
description: |
A kubectl plugin for managing StellarNode resources in Kubernetes clusters.
Provides commands to list nodes, view logs, and check sync status.
Features:
- List all StellarNode resources across namespaces
- View logs from pods associated with StellarNode resources
- Check sync status and health of Stellar nodes
Requires the Stellar-K8s operator to be installed in your cluster.
homepage: https://github.com/stellar/stellar-k8s
# NOTE: SHA256 placeholders must be replaced with actual hashes before publishing to Krew.
# These should be calculated during the CI/CD release process and updated automatically
# when creating GitHub releases. See .github/workflows/release.yml for automation.
platforms:
- uri: https://github.com/stellar/stellar-k8s/releases/download/v0.1.0/kubectl-stellar-linux-amd64.tar.gz
sha256: PLACEHOLDER_SHA256_LINUX_AMD64
bin: kubectl-stellar
files:
- from: kubectl-stellar
to: .
selector:
matchLabels:
os: linux
arch: amd64
- uri: https://github.com/stellar/stellar-k8s/releases/download/v0.1.0/kubectl-stellar-darwin-amd64.tar.gz
sha256: PLACEHOLDER_SHA256_DARWIN_AMD64
bin: kubectl-stellar
files:
- from: kubectl-stellar
to: .
selector:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/stellar/stellar-k8s/releases/download/v0.1.0/kubectl-stellar-darwin-arm64.tar.gz
sha256: PLACEHOLDER_SHA256_DARWIN_ARM64
bin: kubectl-stellar
files:
- from: kubectl-stellar
to: .
selector:
matchLabels:
os: darwin
arch: arm64
- uri: https://github.com/stellar/stellar-k8s/releases/download/v0.1.0/kubectl-stellar-windows-amd64.zip
sha256: PLACEHOLDER_SHA256_WINDOWS_AMD64
bin: kubectl-stellar.exe
files:
- from: kubectl-stellar.exe
to: .
selector:
matchLabels:
os: windows
arch: amd64
caveats: |
This plugin requires:
1. The Stellar-K8s operator to be installed in your cluster
2. StellarNode CRD to be available
3. kubectl to be installed and configured
To install the operator:
helm repo add stellar-k8s https://stellar.github.io/stellar-k8s
helm install stellar-operator stellar-k8s/stellar-operator --namespace stellar-system --create-namespace