-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Would be cool if we enabled frontend developers to deploy their containerized web applications simply with Kusk.
A command like
kusk deploy pages --container dockerhub/containernameUnder the hood it would create a deployment and expose it
kubectl create deployment web-app --image=usernameweb-application
kubectl expose deployment web-app --name web-app-svc --port=3000and then it would create a simple StaticRoute and connect it:
apiVersion: gateway.kusk.io/v1alpha1
kind: StaticRoute
metadata:
name: web-app-static-route
spec:
fleet:
name: kusk-gateway-envoy-fleet
namespace: kusk-system
upstream:
service:
name: web-app-svc
namespace: default
port: 3000Alternatively, if that's complicated, we could just create the StaticRoute given a service name:
kusk deploy pages --service web-app Which would create the StaticRoute under-the-hood.
Reactions are currently unavailable