Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.12 KB

File metadata and controls

61 lines (41 loc) · 2.12 KB

BikeSharing360 with KubeVela

BikeSharing360 for single containers adapted for KubeVela.

BikeSharing360 is a fictitious example of a smart bike sharing system with 10,000 bikes distributed in 650 stations located throughout New York City and Seattle. Their vision is to provide a modern and personalized experience to riders and to run their business with intelligence.

BikeSharing 360 for multiple containers can be found here.

Prerequisites

  • Follow the instructions in the installation document to get KubeVela installed.

  • Make sure that the ingress controller has been installed (instructions here).

Quickstart: Deploy the sample through KubeVela

Deploy the application to Kubernetes cluster.

$ kubectl apply -f ./app.yaml

Validate that the deployments are created successfully by KubeVela.

$ kubectl get deploy

NAME                          READY   UP-TO-DATE   AVAILABLE   AGE
bikesharing-sc-component-v1   1/1     1            1           5m2s

Wait for ingress to be created:

$ kubectl get ingress

NAME                          CLASS    HOSTS                ADDRESS     PORTS   AGE
bikesharing-sc-component-v1   <none>   bikesharing-sc.com   localhost   80      5m18s

Navigating to bikesharing-sc.com after mapping it to the correct IP address (found by kubectl get services) should take you to the home page.

bikesharing website

Copyright and license

  • Code and documentation copyright 2016 Microsoft Corp. Code released under the MIT license.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.