-
Notifications
You must be signed in to change notification settings - Fork 251
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
use k8s master URL instead of kubernetes.default.svc
#186
Conversation
Please update the doc, use k8s master URL instead of |
kubernetes.default.svc
Just like the code below: if fb.Spec.Volumes !=nil {
ds.Spec.Template.Spec.Volumes=append(ds.Spec.Template.Spec.Volumes,fb.Spec.Volumes...)
}
if fb.Spec.VolumesMount !=nil {
ds.Spec.Template.Spec.Containers[0].VolumeMounts=append(ds.Spec.Template.Spec.Containers[0].VolumeMounts,fb.Spec.VolumesMount...)
} |
But this may increase the burden of users. We may need to create multiple structures.
|
I mean you define // List of volumes that can be mounted by containers belonging to the pod.
Volumes []corev1.Volume `json:"volumes,omitempty"`
// Pod volumes to mount into the container's filesystem.
VolumesMount []corev1.VolumeMount `json:"volumesMount,omitempty"` |
Signed-off-by: chengdehao <[email protected]>
yeah. I want fluent-bit to write the logfiles with the file output module. How can i mount a volume inside my fluent-bit container? |
Users can customize the service. However, in the case of multiple nodes, the hosts files on each machine are different, so you need to adjust the hosts files.
Please see for more details #184
Signed-off-by: chengdehao [email protected]