-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
We are trying to use this gem using the kubeclient instructions for connecting inside a cluster (using a service account and its token), and this is mostly working, but we can only get Kubeclient get_jobs calls working with client configured as:
config.kubeclient = Kubeclient::Client.new(
'https://kubernetes.default.svc/apis/batch',
'v1',
auth_options: auth_options,
ssl_options: ssl_options
)
and can only get get_pods calls working with the client configured as follows:
config.kubeclient = Kubeclient::Client.new(
'https://kubernetes.default.svc',
'v1',
auth_options: auth_options,
ssl_options: ssl_options
)
It looks like resque-kubernetes is not built to support the core and group APIs when a custom kubeclient config is provided (we do not have a production ~/.kube/config volume mount)? I'm wondering if this assessment is correct, if any users have found workarounds, or whether this is an appropriate thing to issue a patch for?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels