question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would this work for a Fargate AWS cluster?

See original GitHub issue

Proposed change

kubespawner for Fargate AWS cluster

Alternative options

This exists https://github.com/uktrade/fargatespawner but it only mentions AWS ECS.

Who would use this feature?

Anyone interested in running JupyterHub on a serverless cluster.

(Optional): Suggest a solution

Honestly I have no clue 😕 I’ve just started playing with JupyterHub on cloud but the Zero To Jupyterhub guide is outdated for AWS (EKS).

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Abhi94Ncommented, Sep 9, 2022

I tried to deploy both with the fargate spawner config as well as kubespawner in a fargate only cluster but it did not work. I’m not a 100% sure on what the issue is but I was able to launch a single-user notebook from the hub using the k8s python client.

My guess initially is that fargate does not allow for pods with elevated privileges such as NET_ADMIN because that was the issue I was getting when I tested this in gke autopilot but I disabled the blockiptables section in the helm chart as an attempt to remove the elevated privilege and tried that in fargate and my pod was still stuck in pending status.

It wouldn’t even create the fargate node.

1reaction
DarkmatterValecommented, Jul 21, 2020

Hi @filippo82 thanks for the advice. I did create a fargate profile for the jhub namespace that is in the proper subnets. Have you been able to get jupyterhub running on Fargate in EKS?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is AWS Fargate? - Amazon ECS
AWS Fargate is a technology that you can use with Amazon ECS to run containers without having to manage servers or clusters of...
Read more >
Amazon ECS on AWS Fargate
AWS Fargate is a technology that you can use with Amazon ECS to run containers without having to manage servers or clusters of...
Read more >
Serverless Compute Engine–AWS Fargate–Amazon Web ...
AWS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes (EKS)....
Read more >
AWS Fargate - Amazon EKS
You can control which pods start on Fargate and how they run with Fargate profiles. Fargate profiles are defined as part of your...
Read more >
Creating a cluster with a Fargate Linux task using the AWS CLI
The following steps help you set up a cluster, register a task definition, run a Linux task, and perform other common scenarios in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found