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

4.x doc: update old K8s deployment yaml (#4760) #4762

Merged
merged 1 commit into from
Aug 22, 2022
Merged
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
7 changes: 5 additions & 2 deletions docs/includes/guides/metrics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-metrics
spec:
replicas: 1 // <3>
selector:
matchLabels:
app: helidon-metrics
template:
metadata:
labels:
Expand Down Expand Up @@ -553,4 +556,4 @@ helm delete --purge metrics
kubectl delete -f ./metrics.yaml
----

// end::k8s-and-prometheus-integration[]
// end::k8s-and-prometheus-integration[]
5 changes: 4 additions & 1 deletion docs/mp/guides/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-config
spec:
replicas: 1 // <2>
selector:
matchLabels:
app: helidon-config
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/mp/guides/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-health // <2>
spec:
replicas: 1
selector:
matchLabels:
app: helidon-health
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/mp/guides/tracing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -691,11 +691,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-tracing
spec:
replicas: 1 // <2>
selector:
matchLabels:
app: helidon-tracing
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/mp/tracing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -771,11 +771,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-tracing
spec:
replicas: 1 # <2>
selector:
matchLabels:
app: helidon-tracing
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/se/guides/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -812,11 +812,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-config
spec:
replicas: 1 // <2>
selector:
matchLabels:
app: helidon-config
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/se/guides/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-health // <2>
spec:
replicas: 1
selector:
matchLabels:
app: helidon-health
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/se/guides/tracing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -683,11 +683,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: helidon-tracing
spec:
replicas: 1 // <2>
selector:
matchLabels:
app: helidon-tracing
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion docs/se/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,14 @@ spec:
name: http
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: acme # <2>
spec:
replicas: 1
selector:
matchLabels:
app: acme
template:
metadata:
name: acme
Expand Down