Skip to content

Commit cac16c5

Browse files
authored
Merge pull request #626 from sthaha/doc-exp-redfish
docs: add documentation for enabling redfish support
2 parents 5603bf4 + 6fcde71 commit cac16c5

19 files changed

+851
-41
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/
3131
# Wait for cert-manager to be ready
3232
kubectl wait --for=condition=available --timeout=120s deployment -n cert-manager --all
3333

34-
# 2. Install monitoring stack (Prometheus + Grafana)
35-
# Skip if you already have Prometheus installed
34+
# 2. Install Prometheus Operator (required for ServiceMonitor support)
35+
# This installs prometheus-operator + Prometheus + Grafana
36+
# If you only need prometheus-operator, see the monitoring stack guide
3637
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
3738
helm install prometheus prometheus-community/kube-prometheus-stack \
3839
--namespace monitoring \

bundle/manifests/kepler.system.sustainable.computing.io_powermonitors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
clientConfig:
1313
service:
1414
name: kepler-operator-webhook-service
15-
namespace: kepler-operator-system
15+
namespace: kepler-operator
1616
path: /convert
1717
conversionReviewVersions:
1818
- v1

config/default/k8s/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Adds namespace to all resources.
2-
namespace: kepler-operator-system
2+
namespace: kepler-operator
33

44
# Value of this field is prepended to the
55
# names of all resources, e.g. a deployment named

config/default/openshift/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Adds namespace to all resources.
2-
namespace: kepler-operator-system
2+
namespace: kepler-operator
33

44
# Value of this field is prepended to the
55
# names of all resources, e.g. a deployment named

config/manager/overlays/k8s/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ patches:
1111
patch: |-
1212
- op: add
1313
path: /spec/template/spec/containers/0/args/0
14-
value: --deployment-namespace=kepler
14+
value: --deployment-namespace=power-monitor

docs/user/README.md

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,41 @@ Choose your platform to begin:
1717
### Installation Guides
1818

1919
- **[Kubernetes Installation (Helm)](installation/kubernetes.md)** - Install on vanilla Kubernetes using Helm
20-
- Includes prerequisites: cert-manager setup
21-
- Optional: Prometheus and Grafana setup
20+
- Includes prerequisites: cert-manager and prometheus-operator
21+
- Optional: Prometheus and Grafana for metrics visualization
2222
- **[OpenShift Installation (OperatorHub)](installation/openshift.md)** - Install via OperatorHub/OLM
2323
- Uses OpenShift's built-in certificate management
2424
- Integrates with OpenShift monitoring stack
2525

2626
### Prerequisites
2727

28-
- **[Setting up Monitoring Stack on Kubernetes](installation/monitoring-stack-kubernetes.md)** - Optional guide for Prometheus and Grafana setup
29-
- Required only if you want metrics visualization
30-
- Not needed for basic Kepler installation
28+
- **[Setting up Monitoring Stack on Kubernetes](installation/monitoring-stack-kubernetes.md)** - Guide for prometheus-operator, Prometheus, and Grafana
29+
- prometheus-operator is **REQUIRED** (Kepler Operator creates ServiceMonitor resources)
30+
- Prometheus and Grafana are optional (needed only for metrics visualization)
3131

32-
## Usage Guides
32+
## Guides
3333

34-
Once installed, learn how to use Kepler Operator:
34+
Step-by-step tutorials for common tasks:
3535

36-
- **[Creating PowerMonitor Resources](guides/power-monitor.md)** - Deploy and configure Kepler on your cluster
37-
- **[Configuration Options](configuring-kepler.md)** - Deep dive into PowerMonitor configuration
3836
- **[Validating Prometheus Integration](guides/validating-prometheus-integration.md)** - Verify Prometheus is scraping Kepler metrics
3937
- **[Setting up Grafana Dashboards](guides/grafana-dashboard.md)** - Visualize energy metrics
4038
- **[Upgrading](guides/upgrading.md)** - Upgrade the operator (Helm and OLM)
39+
- **[Troubleshooting Guide](guides/troubleshooting.md)** - Common issues and platform-specific solutions
4140

42-
## Troubleshooting and Support
41+
### Experimental Features
4342

44-
- **[Troubleshooting Guide](guides/troubleshooting.md)** - Common issues and platform-specific solutions
45-
- **[Uninstallation](reference/uninstallation.md)** - Clean removal procedures
43+
⚠️ These features are experimental and may change in future versions:
44+
45+
- **[Redfish BMC Power Monitoring](guides/experimental/redfish.md)** - Platform-level power consumption via Baseboard Management Controllers
4646

4747
## Reference Documentation
4848

49-
- **[API Reference](reference/api.md)** - Complete PowerMonitor API specification
49+
Detailed feature documentation and specifications:
50+
51+
- **[PowerMonitor Resources](reference/power-monitor.md)** - Complete PowerMonitor CR specification and configuration options
52+
- **[Custom ConfigMaps](reference/custom-configmaps.md)** - Advanced Kepler configuration using additionalConfigMaps
53+
- **[API Reference](reference/api.md)** - Complete API specification
54+
- **[Uninstallation](reference/uninstallation.md)** - Clean removal procedures
5055

5156
## Developer Documentation
5257

@@ -57,15 +62,23 @@ If you want to contribute to Kepler Operator or understand its internals, see th
5762
### Kubernetes Quick Start
5863

5964
```bash
60-
# Install cert-manager
65+
# 1. Install cert-manager (required)
6166
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.18.2/cert-manager.yaml
6267

63-
# Install Kepler Operator via Helm
68+
# 2. Install prometheus-operator (required)
69+
# Using kube-prometheus-stack (includes Prometheus + Grafana)
70+
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
71+
helm install prometheus prometheus-community/kube-prometheus-stack \
72+
--namespace monitoring \
73+
--create-namespace \
74+
--set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false
75+
76+
# 3. Install Kepler Operator via Helm
6477
helm install kepler-operator ./manifests/helm/kepler-operator \
6578
--namespace kepler-operator \
6679
--create-namespace
6780

68-
# Create PowerMonitor
81+
# 4. Create PowerMonitor
6982
kubectl apply -f - <<EOF
7083
apiVersion: kepler.system.sustainable.computing.io/v1alpha1
7184
kind: PowerMonitor

0 commit comments

Comments
 (0)