Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    dklinkman
    @dklinkman

    Looks like a lot of the error have gone away. I still get this in the agent log right after joining the cluster, but the error goes away once the cert-manager is installed

    (2021-01-12T15:07:29.017Z) info: kubesail-agent starting! { "version": "0.21.0" }
    (2021-01-12T15:07:29.099Z) info: Connecting to Kubernetes API...
    (2021-01-12T15:07:30.657Z) warn: Unable to create ClustuerIssuer, cert-manager is probably still starting up. Retrying in 30 seconds. conversion webhook for cert-manager.io/v1alpha2, Kind=ClusterIssuer failed: Post "https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s": service "cert-manager-webhook" not found {
      "code": 500,
      "stack": "Error: conversion webhook for cert-manager.io/v1alpha2, Kind=ClusterIssuer failed: Post \"https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s\": service \"cert-manager-webhook\" not found\n    at /home/node/app/node_modules/kubernetes-client/backends/request/client.js:231:25\n    at Request._callback (/home/node/app/node_modules/kubernetes-client/backends/request/client.js:168:14)\n    at Request.self.callback (/home/node/app/node_modules/request/request.js:185:22)\n    at Request.emit (events.js:315:20)\n    at Request.<anonymous> (/home/node/app/node_modules/request/request.js:1154:10)\n    at Request.emit (events.js:315:20)\n    at IncomingMessage.<anonymous> (/home/node/app/node_modules/request/request.js:1076:12)\n    at Object.onceWrapper (events.js:421:28)\n    at IncomingMessage.emit (events.js:327:22)\n    at endReadableNT (internal/streams/readable.js:1327:12)"
    }
    (2021-01-12T15:07:30.661Z) info: Registering with KubeSail...
    (2021-01-12T15:07:31.422Z) info: Connected to gateway socket! { "KUBESAIL_AGENT_GATEWAY_TARGET": "https://usw1.k8g8.com" }
    (2021-01-12T15:08:13.521Z) info: Agent recieved new agent-data from gateway! {
      "clusterAddress": "rpi43x7k3s.dklinkman.usw1.k8g8.com",
      "firewall": {
        "rpi43x7k3s.dklinkman.usw1.k8g8.com": 1
      }
    }
    (2021-01-12T15:08:13.533Z) info: KubeSail Agent registered and ready! KubeSail support information: {
      "clusterAddress": "rpi43x7k3s.dklinkman.usw1.k8g8.com",
      "agentKey": "a5878b6019bb003adde6ef2864d8c397",
      "version": "0.21.0"
    }
    (2021-01-12T15:08:31.606Z) warn: Unable to create ClustuerIssuer, cert-manager is probably still starting up. Retrying in 30 seconds. conversion webhook for cert-manager.io/v1alpha2, Kind=ClusterIssuer failed: Post "https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s": service "cert-manager-webhook" not found {
      "code": 500,
      "stack": "Error: conversion webhook for cert-manager.io/v1alpha2, Kind=ClusterIssuer failed: Post \"https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s\": service \"cert-manager-webhook\" not found\n    at /home/node/app/node_modules/kubernetes-client/backends/request/client.js:231:25\n    at Request._callback (/home/node/app/node_modules/kubernetes-client/backends/request/client.js:168:14)\n    at Request.self.callback (/home/node/app/node_modules/request/request.js:185:22)\n    at Request.emit (events.js:315:20)\n    at Request.<anonymous> (/home/node/app/node_modules/request/request.js:1154:10)\n    at Request.emit (events.js:315:20)\n    at IncomingMessage.<anonymous> (/home/node/app/node_modules/request/request.js:1076:12)\n    at Object.onceWrapper (events.js:421:28)\n    at IncomingMessage.emit (events.js:327:22)\n    at endReadableNT (internal/streams/readable.js:1327:12)"

    I still have to restart the agent to pick up a new ingress, but now I have to restart for every new ingress. With 0.19.0 I only had to restart the agent once for the first ingress, and the rest would be picked up automatically

    ram2012k
    @ram2012k
    I am trying to create cluster with command kubectl create -f https://byoc.kubesail.com/ram2012k
    from local terminal but it is giving error
    The connection to the server localhost:8080 was refused - did you specify the right host or port?
    And i am unable to download config file from kubesail
    dklinkman
    @dklinkman
    Your KUBECONFIG environment variable should point to the configuration file for your kubernetes setup. The configuration file location will vary depending on what kubernetes you are using. The docs should be able to tell you. On my k3s system the file I need is /etc/rancher/k3s/k3s.yaml. Mind the file permissions also. I usually copy that file to ${HOME}/.kube/config. Don't know why--habit I guess.
    Seandon Mooy
    @erulabs
    Ah! I believe i've narrowed down the case where ingresses wont be picked up by the agent. I've pushed kubesail/agent:v0.22.0 if you'd like to give that a shot (it's not yet published as stable on the kubesail website). It should resolve all the needing-to-restart issues for ingresses :)
    @dklinkman ^ Let me know if that does the trick for you! Going to do more testing, but hopefully will be able to push that stable later today!
    dklinkman
    @dklinkman
    I'll give it a go
    Seandon Mooy
    @erulabs
    Thank you! Owe ya!!
    dklinkman
    @dklinkman

    So it seems to be working ok. The ingress is created and the TLS certificate is finalized and the k8g8.com URL works. But there doesn't seem to be any logging now. At least not like before. With 0.19.0 when a new ingress is created the agent would log and new firewall listing with the new host added. Also when the agent was restarted it would log the current firewall list of hosts. but now just:

    (2021-01-12T22:11:44.529Z) info: kubesail-agent starting! { "version": "0.22.0" }
    (2021-01-12T22:11:46.403Z) info: KubeSail Agent registered and ready! KubeSail support information: {
      "clusterAddress": "n40x7k8s.dklinkman.usw1.k8g8.com",
      "agentKey": "6e69954ddcd8d642be27b08405e2aabd",
      "version": "0.22.0"
    }

    Functionally it seems to be working fine, just the logging looks different

    Seandon Mooy
    @erulabs
    @dklinkman yes the logging is a bit quieter now - you can set the LOG_LEVEL variable to “debug” to get lots more info. I might revert one of those logs so that the firewall is visible in “info” level
    dklinkman
    @dklinkman
    Sounds good. And you have timestamps now too!! Love it
    Al-Amin Talukdar
    @timam1992
    image.png
    Hi There,
    I was planning to try kubesail. But it is showing me this.
    Seandon Mooy
    @erulabs
    Hey @timam1992 ! To start you'll need to attach a computer to KubeSail - any sort of machine will work - the easiest is probably docker-for-desktop, or if you're familiar with Linux you can install Microk8s on any linux machine and run the command shown there (kubectl create...). Let me know if you have any questions!
    Al-Amin Talukdar
    @timam1992
    @erulabs thanks a lot for your your reply. I have few questions. I have docker-for-desktop in my machine. I don't have public ip. How my docker-for-desktop will be connected in kubesail.
    Seandon Mooy
    @erulabs
    Hey @timam1992 - That's one of the best features of the KubeSail agent - if you install it on your docker-for-desktop, we will forward connections from our servers to your system, so you don't need a Public IP or any firewall rules! :)
    Al-Amin Talukdar
    @timam1992
    Amazing @erulabs. Thanks a lot for explaining.
    Carl J. Mosca
    @carljmosca
    could be my account but on the “Repos” page, the “connecting a GitHubRepo” link and the “Connect New Repository” button both seem to be broken and/or disabled
    Seandon Mooy
    @erulabs
    Hrm, that's not good - I'll take a look... Do you get any error or do the buttons just do nothing?
    Carl J. Mosca
    @carljmosca
    just switched to dev mode and I see no errors in the browser or console…nothing happens
    Seandon Mooy
    @erulabs
    Ah, thank you for that report - a fix is deploying soon!
    Carl J. Mosca
    @carljmosca
    very welcome…glad to help if/when I can :)
    Seandon Mooy
    @erulabs
    The hardest sort of bug to catch - front-end only, doesn't throw an error :< Time to add some more browser-based tests! :heart:
    Thanks again!
    Carl J. Mosca
    @carljmosca
    no problem…would like to find/fix my bugs that fast LOL
    Carl J. Mosca
    @carljmosca
    looks good to me, thank you
    Seandon Mooy
    @erulabs
    We've identified a number of other small issues with the repo builder, and are rolling out more fixes. We've also added "plain dockerfile" support - in the situation where we cannot determine the language of a project, but there is a Dockerfile, we'll now just build that and deploy it :dancer:
    Those fixes will launch within the next 30 minutes or so :)
    Carl J. Mosca
    @carljmosca
    Cool thank you for the update
    Seandon Mooy
    @erulabs
    Hello everyone! We've released a new Dynamic DNS service today - if you upgrade your KubeSail Agent, you should get a new domain with the suffix dns.k8g8.com - this is a dynamic DNS address that will point at your machines public IP address! Very useful for hosting games, SSH servers, and anything non-http that the Gateway tunneling service doesn't address for you. Let me know if you have any questions! Thanks everyone!
    @/all New features this week! Dynamic DNS, plain-Dockerfile support in Repo-Builder, lots of improvements and bug-fixes around the site, and lots more coming soon! Also excited to announce the launch of https://www.beeperhq.com - a customer of ours built on KubeSail's platform. Thanks everyone and have a great week!
    flynmoose
    @flynmoose

    1000 monkeys and 1000 typewriters... Didn't really know (nor still know) what I was doing when I tried to connect my RPi to KubeSail and ended up with some persistent errors that I am trying to get rid of so I can start over. Any idea how to clear these red warning boxes every time I log in?

    Permission denied from Games
    games.xxxxxx.usw1.k8g8.com / Deployment Invalid clusterConfig from db - no credentials found for cluster: games.xxxxxx.usw1.k8g8.com

    Unable to fetch namespaces from games.xxxxxx.usw1.k8g8.com
    games.xxxxxx.usw1.k8g8.com might be offline?

    Seandon Mooy
    @erulabs
    Hey @flynmoose ! Thanks for reaching out - I sent you an email about that error - we're trying to nail it down and eliminate it but its a hard one to recreate! If you go to https://kubesail.com/clusters and click "Settings", you should be able to delete the cluster from the dashboard entirely. Once that's done, you can try re-installing the agent (add-cluster), and it should do the trick.
    If possible, could you share any details about the cluster (ie: how it was setup k3s, microk8s, rancher, etc)? Any details would be awesome
    RyzeNGrind
    @RyzeNGrind
    Hello is it possible to use Gitlab instead of Github on KubeSail? I have a cluster of Raspberry Pis that I would like to put to good use and I just came across your site and product. Everything seems very promising so I would love to try it out soon.
    RyzeNGrind
    @RyzeNGrind

    @/all New features this week! Dynamic DNS, plain-Dockerfile support in Repo-Builder, lots of improvements and bug-fixes around the site, and lots more coming soon! Also excited to announce the launch of https://www.beeperhq.com - a customer of ours built on KubeSail's platform. Thanks everyone and have a great week!

    Wow Beeper looks amazing and can't believe its self hosted on a cluster somewhere. Super cool thanks for sharing this gem!

    flynmoose
    @flynmoose

    Hey @flynmoose ! Thanks for reaching out - I sent you an email about that error - we're trying to nail it down and eliminate it but its a hard one to recreate! If you go to https://kubesail.com/clusters and click "Settings", you should be able to delete the cluster from the dashboard entirely. Once that's done, you can try re-installing the agent (add-cluster), and it should do the trick.

    Emailed you back with some screenshots and a commandline history of my buffonery. Hope it helps.

    Seandon Mooy
    @erulabs
    @RyzeNGrind - I'd love to add GitLab support! We haven't had many requests for it so it's been on the TODO list, but I'll add a +1 to it! Hope to get to that soon :heart:
    Seandon Mooy
    @erulabs
    Hey @flynmoose - still working on a patch for you - sorry for the delay!
    Seandon Mooy
    @erulabs
    Heya @flynmoose - Sorry for the delay - weve released a patch that should (try) to solve your issues. At very least you'll be able to delete the cluster from https://kubesail.com/clusters and try again. Let me know if you continue to run into any issues :heart:
    Arturas Smorgun
    @asarturas
    Hello, mentions of shared cluster resources (for starter and teams accounts) seem to have been gone from pricing and documentation pages (I was not able to find today). It still works on my team with original allocation from before, but wondering if this is indication that this feature will slowly be phasing out for you to focus on other features? Asking because want to see if will need to account for shared cluster migration medium term. Thanks!
    Seandon Mooy
    @erulabs
    Hey @asarturas - unfortunately yes - we're starting to phase out the shared hosting. We do offer dedicated clusters, and we'd be happy to help you migrate! Hopefully you received an email about this (ill double check you're on the right email lists!). Feel free to reach out to us at support@kubesail.com and we can sort out a solution that works for you - we offer cluster setup and managed clusters which fit most use-cases just as well if not better than our shared tier offering. Let us know if we can help!!
    Seandon Mooy
    @erulabs
    @/all Hello everyone! We've released an update to our KubeSail agent that should resolve the very last of the situations where Domains will not be routed properly (Ingress detection). Please update your agent using the https://kubesail.com/clusters dashboard. We've also added some great new templates in the last few days - please recommend any open-source software you'd like to see in our Template store! Thanks everyone! Loads of news coming soon !
    RyzeNGrind
    @RyzeNGrind
    Hi there, I've already inquired about the support for gitlab and received an answer but I forgot to ask is there an expected release date for gitlab support?
    Also, if I was interested in running kubesail on my own private domain but without depending on an external website how would it be possible to deploy my cluster under my domain?
    Thanks for your time and consideration
    RyzeNGrind
    @RyzeNGrind
    I'm a software engineering student currently teaching myself devops and kubernetes. I had some ideas for a few PaaS I wanted to self host and test deploy on my cluster of RPIs but i couldnt find any easy to use tools to manage my cluster asides from garden.io and kubesail. Would appreciate any advice any of you may have on how I could proceed. Thanks again.
    Jean-François Lamy
    @jflamy
    (I intend to run the docker desktop cluster under a free account, and the DO one under my current hobby tier subscription)