Skip to content

Commit

Permalink
MON-3543: Update API docs for Metrics Server
Browse files Browse the repository at this point in the history
Signed-off-by: Jayapriya Pai <janantha@redhat.com>
  • Loading branch information
slashpai committed Dec 5, 2023
1 parent 099ff33 commit e6f245d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ The `KubeStateMetricsConfig` resource defines settings for the `kube-state-metri

#### Description

The `MetricsServerConfig` resource defines settings for the MetricsServer component.
The `MetricsServerConfig` resource defines settings for the MetricsServer component. This resource is only considered valid in a TechPreview cluster with TechPreviewNoUpgrade FeatureSet enabled; otherwise, it is ignored.


<em>appears in: [ClusterMonitoringConfiguration](#clustermonitoringconfiguration)</em>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

=== Description

The `MetricsServerConfig` resource defines settings for the MetricsServer component.
The `MetricsServerConfig` resource defines settings for the MetricsServer component. This resource is only considered valid in a TechPreview cluster with TechPreviewNoUpgrade FeatureSet enabled; otherwise, it is ignored.



Expand Down
2 changes: 2 additions & 0 deletions pkg/manifests/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ type K8sPrometheusAdapter struct {
}

// The `MetricsServerConfig` resource defines settings for the MetricsServer component.
// This resource is only considered valid in a TechPreview cluster
// with TechPreviewNoUpgrade FeatureSet enabled; otherwise, it is ignored.
type MetricsServerConfig struct {
// Defines the nodes on which the pods are scheduled.
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Expand Down

0 comments on commit e6f245d

Please sign in to comment.