Skip to content

Commit 3544522

Browse files
authored
deploy/kubernetes: drop cache directory for Universal Profiling (#5188)
Universal Profiling no longer requires a cache directory to run. Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
1 parent d33f0c6 commit 3544522

File tree

10 files changed

+0
-90
lines changed

10 files changed

+0
-90
lines changed

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ spec:
113113
mountPath: /sys/kernel/debug
114114
- name: elastic-agent-state
115115
mountPath: /usr/share/elastic-agent/state
116-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
117-
#- name: universal-profiling-cache
118-
# mountPath: /var/cache/Elastic
119116
volumes:
120117
- name: proc
121118
hostPath:
@@ -156,9 +153,3 @@ spec:
156153
hostPath:
157154
path: /var/lib/elastic-agent-managed/kube-system/state
158155
type: DirectoryOrCreate
159-
# Mount required for Universal Profiling.
160-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
161-
#- name: universal-profiling-cache
162-
# hostPath:
163-
# path: /var/cache/Elastic
164-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ spec:
121121
mountPath: /sys/kernel/debug
122122
- name: elastic-agent-state
123123
mountPath: /usr/share/elastic-agent/state
124-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
125-
#- name: universal-profiling-cache
126-
# mountPath: /var/cache/Elastic
127124
volumes:
128125
- name: datastreams
129126
configMap:
@@ -162,9 +159,3 @@ spec:
162159
hostPath:
163160
path: /var/lib/elastic-agent-standalone/kube-system/state
164161
type: DirectoryOrCreate
165-
# Mount required for Universal Profiling.
166-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
167-
#- name: universal-profiling-cache
168-
# hostPath:
169-
# path: /var/cache/Elastic
170-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ spec:
113113
mountPath: /sys/kernel/debug
114114
# - name: elastic-agent-state
115115
# mountPath: /usr/share/elastic-agent/state
116-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
117-
#- name: universal-profiling-cache
118-
# mountPath: /var/cache/Elastic
119116
volumes:
120117
- name: proc
121118
hostPath:
@@ -156,9 +153,3 @@ spec:
156153
# hostPath:
157154
# path: /var/lib/elastic-agent-managed/kube-system/state
158155
# type: DirectoryOrCreate
159-
# Mount required for Universal Profiling.
160-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
161-
#- name: universal-profiling-cache
162-
# hostPath:
163-
# path: /var/cache/Elastic
164-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ spec:
113113
mountPath: /sys/kernel/debug
114114
# - name: elastic-agent-state
115115
# mountPath: /usr/share/elastic-agent/state
116-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
117-
#- name: universal-profiling-cache
118-
# mountPath: /var/cache/Elastic
119116
volumes:
120117
- name: proc
121118
hostPath:
@@ -156,9 +153,3 @@ spec:
156153
# hostPath:
157154
# path: /var/lib/elastic-agent-managed/kube-system/state
158155
# type: DirectoryOrCreate
159-
# Mount required for Universal Profiling.
160-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
161-
#- name: universal-profiling-cache
162-
# hostPath:
163-
# path: /var/cache/Elastic
164-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ spec:
121121
mountPath: /sys/kernel/debug
122122
# - name: elastic-agent-state
123123
# mountPath: /usr/share/elastic-agent/state
124-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
125-
#- name: universal-profiling-cache
126-
# mountPath: /var/cache/Elastic
127124
volumes:
128125
- name: datastreams
129126
configMap:
@@ -162,9 +159,3 @@ spec:
162159
# hostPath:
163160
# path: /var/lib/elastic-agent-standalone/kube-system/state
164161
# type: DirectoryOrCreate
165-
# Mount required for Universal Profiling.
166-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
167-
#- name: universal-profiling-cache
168-
# hostPath:
169-
# path: /var/cache/Elastic
170-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ spec:
121121
mountPath: /sys/kernel/debug
122122
# - name: elastic-agent-state
123123
# mountPath: /usr/share/elastic-agent/state
124-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
125-
#- name: universal-profiling-cache
126-
# mountPath: /var/cache/Elastic
127124
volumes:
128125
- name: datastreams
129126
configMap:
@@ -162,9 +159,3 @@ spec:
162159
# hostPath:
163160
# path: /var/lib/elastic-agent-standalone/kube-system/state
164161
# type: DirectoryOrCreate
165-
# Mount required for Universal Profiling.
166-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
167-
#- name: universal-profiling-cache
168-
# hostPath:
169-
# path: /var/cache/Elastic
170-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-managed-kubernetes.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ spec:
113113
mountPath: /sys/kernel/debug
114114
- name: elastic-agent-state
115115
mountPath: /usr/share/elastic-agent/state
116-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
117-
#- name: universal-profiling-cache
118-
# mountPath: /var/cache/Elastic
119116
volumes:
120117
- name: proc
121118
hostPath:
@@ -156,12 +153,6 @@ spec:
156153
hostPath:
157154
path: /var/lib/elastic-agent-managed/kube-system/state
158155
type: DirectoryOrCreate
159-
# Mount required for Universal Profiling.
160-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
161-
#- name: universal-profiling-cache
162-
# hostPath:
163-
# path: /var/cache/Elastic
164-
# type: DirectoryOrCreate
165156
---
166157
apiVersion: rbac.authorization.k8s.io/v1
167158
kind: ClusterRoleBinding

deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ spec:
113113
mountPath: /sys/kernel/debug
114114
- name: elastic-agent-state
115115
mountPath: /usr/share/elastic-agent/state
116-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
117-
#- name: universal-profiling-cache
118-
# mountPath: /var/cache/Elastic
119116
volumes:
120117
- name: proc
121118
hostPath:
@@ -156,9 +153,3 @@ spec:
156153
hostPath:
157154
path: /var/lib/elastic-agent-managed/kube-system/state
158155
type: DirectoryOrCreate
159-
# Mount required for Universal Profiling.
160-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
161-
#- name: universal-profiling-cache
162-
# hostPath:
163-
# path: /var/cache/Elastic
164-
# type: DirectoryOrCreate

deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,6 @@ spec:
790790
mountPath: /sys/kernel/debug
791791
- name: elastic-agent-state
792792
mountPath: /usr/share/elastic-agent/state
793-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
794-
#- name: universal-profiling-cache
795-
# mountPath: /var/cache/Elastic
796793
volumes:
797794
- name: datastreams
798795
configMap:
@@ -831,12 +828,6 @@ spec:
831828
hostPath:
832829
path: /var/lib/elastic-agent-standalone/kube-system/state
833830
type: DirectoryOrCreate
834-
# Mount required for Universal Profiling.
835-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
836-
#- name: universal-profiling-cache
837-
# hostPath:
838-
# path: /var/cache/Elastic
839-
# type: DirectoryOrCreate
840831
---
841832
apiVersion: rbac.authorization.k8s.io/v1
842833
kind: ClusterRoleBinding

deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ spec:
121121
mountPath: /sys/kernel/debug
122122
- name: elastic-agent-state
123123
mountPath: /usr/share/elastic-agent/state
124-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
125-
#- name: universal-profiling-cache
126-
# mountPath: /var/cache/Elastic
127124
volumes:
128125
- name: datastreams
129126
configMap:
@@ -162,9 +159,3 @@ spec:
162159
hostPath:
163160
path: /var/lib/elastic-agent-standalone/kube-system/state
164161
type: DirectoryOrCreate
165-
# Mount required for Universal Profiling.
166-
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
167-
#- name: universal-profiling-cache
168-
# hostPath:
169-
# path: /var/cache/Elastic
170-
# type: DirectoryOrCreate

0 commit comments

Comments
 (0)