Skip to content
Open
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
1 change: 1 addition & 0 deletions .changelog/3936.fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"fixed: added missing apiVersion and kind fields to statefulset pvc claim"
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ spec:
{{- end }}
{{- if .Values.metadata.persistence.enabled }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: file-storage
{{- if .Values.metadata.persistence.pvcLabels }}
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
template:
metadata:
annotations:
checksum/config: "%CONFIG_CHECKSUM%"
checksum/config: '%CONFIG_CHECKSUM%'
labels:
app: RELEASE-NAME-sumologic-otelcol-logs
chart: "sumologic-%CURRENT_CHART_VERSION%"
Expand All @@ -33,91 +33,94 @@ spec:
nodeSelector:
kubernetes.io/os: linux
volumes:
- name: config-volume
configMap:
name: RELEASE-NAME-sumologic-otelcol-logs
- name: tmp
emptyDir: {}
- name: config-volume
configMap:
name: RELEASE-NAME-sumologic-otelcol-logs
- name: tmp
emptyDir: {}
securityContext:
fsGroup: 999
containers:
- name: otelcol
image: "public.ecr.aws/sumologic/sumologic-otel-collector:0.118.0-sumo-0"
imagePullPolicy: IfNotPresent
args:
- --config=/etc/otel/config.yaml
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 500m
memory: 768Mi
ports:
- name: metrics
containerPort: 8888
protocol: TCP
- name: otlphttp
containerPort: 4318
protocol: TCP
- name: pprof
containerPort: 1777
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 3
startupProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 60
periodSeconds: 3
volumeMounts:
- name: config-volume
mountPath: /etc/otel/config.yaml
subPath: config.yaml
- name: tmp
mountPath: /tmp
- name: file-storage
mountPath: /var/lib/storage/otc
env:
- name: SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE
valueFrom:
secretKeyRef:
name: sumologic
key: endpoint-logs
- name: SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE
valueFrom:
secretKeyRef:
name: sumologic
key: endpoint-logs-otlp

- name: NO_PROXY
value: kubernetes.default.svc
- name: MY_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
volumeClaimTemplates:
- metadata:
name: file-storage
spec:
accessModes: [ReadWriteOnce]
storageClassName:
- name: otelcol
image: "public.ecr.aws/sumologic/sumologic-otel-collector:0.118.0-sumo-0"
imagePullPolicy: IfNotPresent
args:
- --config=/etc/otel/config.yaml
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
storage: 10Gi
cpu: 500m
memory: 768Mi
ports:
- name: metrics
containerPort: 8888
protocol: TCP
- name: otlphttp
containerPort: 4318
protocol: TCP
- name: pprof
containerPort: 1777
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 3
startupProbe:
httpGet:
path: /
port: 13133 # Health Check extension default port.
failureThreshold: 60
periodSeconds: 3
volumeMounts:
- name: config-volume
mountPath: /etc/otel/config.yaml
subPath: config.yaml
- name: tmp
mountPath: /tmp
- name: file-storage
mountPath: /var/lib/storage/otc
env:
- name: SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE
valueFrom:
secretKeyRef:
name: sumologic
key: endpoint-logs
- name: SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE
valueFrom:
secretKeyRef:
name: sumologic
key: endpoint-logs-otlp


- name: NO_PROXY
value: kubernetes.default.svc
- name: MY_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: file-storage
spec:
accessModes: [ReadWriteOnce]
storageClassName:
resources:
requests:
storage: 10Gi
Loading