This may be a stupid question but can juju work on a kubernetes cluster that was created and deployed outside...
I'm asking because I have been trying to get some monitoring and log aggregation to work and when I do the juju side of install to an already existing kubernetes cluster it has a status of waiting and all documentation I can find has instructions on deploying kubernetes via juju. Its like the juju controller can't see a externally created kubernetes cluster.....is this behaviour expected and I'm just unfamiliar or is there some sort of juju component needed to communicate with the external kubernetes cluster that will allow the jujucharm to get out of the status of waiting and never loking like it communicate with anything outside of its environment.
juju nagios3 kubernetes
add a comment |
I'm asking because I have been trying to get some monitoring and log aggregation to work and when I do the juju side of install to an already existing kubernetes cluster it has a status of waiting and all documentation I can find has instructions on deploying kubernetes via juju. Its like the juju controller can't see a externally created kubernetes cluster.....is this behaviour expected and I'm just unfamiliar or is there some sort of juju component needed to communicate with the external kubernetes cluster that will allow the jujucharm to get out of the status of waiting and never loking like it communicate with anything outside of its environment.
juju nagios3 kubernetes
add a comment |
I'm asking because I have been trying to get some monitoring and log aggregation to work and when I do the juju side of install to an already existing kubernetes cluster it has a status of waiting and all documentation I can find has instructions on deploying kubernetes via juju. Its like the juju controller can't see a externally created kubernetes cluster.....is this behaviour expected and I'm just unfamiliar or is there some sort of juju component needed to communicate with the external kubernetes cluster that will allow the jujucharm to get out of the status of waiting and never loking like it communicate with anything outside of its environment.
juju nagios3 kubernetes
I'm asking because I have been trying to get some monitoring and log aggregation to work and when I do the juju side of install to an already existing kubernetes cluster it has a status of waiting and all documentation I can find has instructions on deploying kubernetes via juju. Its like the juju controller can't see a externally created kubernetes cluster.....is this behaviour expected and I'm just unfamiliar or is there some sort of juju component needed to communicate with the external kubernetes cluster that will allow the jujucharm to get out of the status of waiting and never loking like it communicate with anything outside of its environment.
juju nagios3 kubernetes
juju nagios3 kubernetes
asked Jan 31 at 16:06
Hurell LyonsHurell Lyons
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:
Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.
https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114463%2fthis-may-be-a-stupid-question-but-can-juju-work-on-a-kubernetes-cluster-that-was%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:
Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.
https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1
add a comment |
It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:
Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.
https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1
add a comment |
It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:
Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.
https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1
It is possible, but it cannot control all the components.
The juju add-k8s command is what you need:
Information about the cluster is needed in order to add it to Juju. This is found within the main Kubernetes configuration file that can be copied over from the Kubernetes master node (and saved as ~/.kube/config). We can then take advantage of the add-k8s command as it will parse the configuration file if copied to the above path. This allows us to quickly add the cluster.
Note that the conjure-up installer adds the cluster for you.
https://docs.jujucharms.com/2.5/en/clouds-k8s#using-kubernetes-with-juju_1
edited Feb 5 at 21:04
answered Feb 5 at 19:43
NemoNemo
6,64654163
6,64654163
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114463%2fthis-may-be-a-stupid-question-but-can-juju-work-on-a-kubernetes-cluster-that-was%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown