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

Request for Updates to SC4S Build for RKE Cluster Deployment #2648

Open
hatem2018 opened this issue Dec 2, 2024 · 2 comments
Open

Request for Updates to SC4S Build for RKE Cluster Deployment #2648

hatem2018 opened this issue Dec 2, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hatem2018
Copy link

Description: I am currently deploying Splunk Connect for Syslog (SC4S) on an RKE cluster and have made some progress by updating the Dockerfile and entrypoint.sh to change the user to syslog. Below are the details of my setup and the steps I followed:

Configuration Details:

Provider: RKE1
Kubernetes Version: v1.28.7
Architecture: Amd64
SC4S Version: 4.8.1
Deployment Method: AzureDevOps pipelines with Helm chart
Private Registry: JFrog

Steps to Reproduce:
image-sc4s.zip
pipeline-sc4s.zip

  • Set up an RKE cluster with the above configuration.
  • Update the Dockerfile and entrypoint.sh to change the user to syslog.
  • Push the custom SC4S image to the JFrog registry using Azure pipelines.
  • Modify the image in the values.yaml file to use a custom SC4S image.
  • Use AzureDevOps pipelines to deploy SC4S using the Helm chart.

Expected Behavior: I should be able to change any configuration in the values.yaml file using the syslog user without encountering issues related to creating folders and files inside the pods.

Actual Behavior: For example, when configuring custom index using values.yaml file, the configuration is applied but the pods show error creating folder (see screenshot attached)

Request: I would like to request updates to the SC4S build to better support this deployment strategy. Specifically:

Improvements or changes to streamline the process of changing the user to syslog within the SC4S deployment.
Guidance on using a non-root user, such as the syslog user (UID 1024), as our internal policy does not permit the use of root on cluster pods.

Additional Information:

Attached are the updated Dockerfile, entrypoint.sh file, pipeline, and values.yaml file.
This request is related to the Splunk ODS case opened Number 3623626.

Thank you

@hatem2018
Copy link
Author

issue-on-pods

@rjha-splunk rjha-splunk self-assigned this Dec 12, 2024
@rjha-splunk rjha-splunk added the enhancement New feature or request label Dec 12, 2024
@rjha-splunk
Copy link
Collaborator

We will check and get back, please expect a reply on it in a week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants