This is the multi-page printable view of this section. Click here to print.
Getting Started
1 - Getting Started Overview
With Kf, you can migrate your Cloud Foundry apps to Kubernetes without changing your developer workflows.
Use the following sections to get started deploying Cloud Foundry apps to Kf.
Get started with a quickstart
Use the quickstart to install Kf and deploy a simple test Cloud Foundry app. This introduces you to the basic steps you’d perform for most app deployments.
Get an introduction to key concepts
For an introduction to the value of Kf, as well as high-level overviews of the technology, see the following documents:
- To learn more about how Kf works, see Kf dependencies and architecture.
- For a side-by-side comparison of Cloud Foundry and Kf components, see Compare Cloud Foundry and Kf services.
- To learn how to use service brokers with Kf, see Service brokers.
- For more information about Kf security design, see the Security overview.
2 - Quickstart
In this quickstart, you will deploy a sample Cloud Foundry app on an existing Kf cluster.
Push an application
Prerequisites
The following are required to complete this section:
The
kf
CLI installed and in your path.You have connected to the Kf Kubernetes cluster:
gcloud container clusters get-credentials CLUSTER_NAME \ --project=CLUSTER_PROJECT_ID \ --zone=CLUSTER_LOCATION
The
git
CLI installed and in your path.
Prepare space
Create new space:
kf create-space test-space
Target the space:
kf target -s test-space
Push the Cloud Foundry test app
Clone the test-app repo.
git clone https://github.com/cloudfoundry-samples/test-app go-test-app cd go-test-app
Push the app.
kf push test-app
Get the application’s URL.
kf apps
Open the URL in your browser where you should see the app running.
Clean up
These steps should return the cluster to the starting state.
Delete the application.
kf delete test-app
Delete the Space.
kf delete-space test-space
3 - Compare Cloud Foundry and Kf services
This document provides a side-by-side comparison of the various services available on Cloud Foundry (CF) and those that Kf integrates with on Google Cloud.
Service category | Service | CF | Kf |
---|---|---|---|
Platform | Infrastructure Orchestrator | BOSH | Kubernetes |
PaaS | CF Application Runtime (CFAR) | Kf | |
Data management | Service Broker | Service Broker Tile | Kubernetes Deployed Service Brokers |
MySQL | MySQL Tile | Kf Cloud Service Broker | |
MongoDB | MongoDB Tile | Kf Cloud Service Broker | |
RabbitMQ | RabbitMQ Tile | Kf Cloud Service Broker | |
Redis | Redis Tile | Kf Cloud Service Broker | |
Eureka | Spring Cloud Services Tile | Service Discovery | |
Spring Cloud Config | Spring Cloud Services Tile | Spring Cloud Config | |
Operations tooling | Continuous Integration (CI) | Concourse Tile | Concourse Helm Chart |
Logging | Google Cloud | Google Cloud Firehose Nozzle | Google Cloud Logging Kubernetes Agent |
Elastic | Elastic Firehose Nozzle | Elastic Stack Agent | |
Splunk | Splunk Firehose Nozzle | Splunk Connect | |
Metrics | CF App Metrics | Google Cloud Monitoring Kubernetes AGent |