Skip to content

Instantly share code, notes, and snippets.


Ram Iyengar ramiyengar

  • Cloud Foundry Foundation
  • The World
  • Twitter @ramiyengar
View GitHub Profile
View comprehensive-bom-java-paketo
ram@cff:~$ pack inspect-image --bom|jq '.'
"remote": [
"name": "helper",
"version": "2.1.0",
"metadata": {
"layer": "helper",
"names": [
View pack-inspect-remote-image
$ pack inspect-image
Inspecting image:
Stack: io.buildpacks.stacks.bionic
Base Image:
Top Layer: sha256:80d57cc9e517f84d9a52a55379b8efe02b1d6cc0661be53d76a8799613b83851
View azure-postgres-broker-service-definition.yml
# Copyright 2018 the Service Broker Project Authors.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
ramiyengar / Local Install Instructions CF-for-k8s
Created Jan 22, 2021
This gist describes the steps you need to take to install kubernetes locally on your machine and then deploy CF-for-k8s to the locally installed cluster.
View Local Install Instructions CF-for-k8s
#Clone the cf-for-k8s repo. And cd into it.
git clone
cd cf-for-k8s
#You could deploy to your choice of KiND clusters or minikube. Installation instructions for them are available on the #individual project page. Once installed, start a cluster by using the following command:
#For minikube
minikube start --cpus=6 --memory=8g --kubernetes-version="1.19.2" --driver=docker
minikube addons enable metrics-server
View 10GrafanaPortFwd
kubectl port-forward grafana-dc6787967-qkvnf -n cf-system 3000
View 9PrometheusPortFwd
kubectl port-forward prometheus-server-675669fb96-b449n -n cf-system 9090
View 8TestInstall
cf api --skip-ssl-validation
cf login
#Supply login credentials. Once logged in, run the following
cf create-org SampleOrg
cf create-space -o SampleOrg dev
cf target -o SampleOrg -s dev
View 7PatchStaticIp
kubectl patch svc istio-ingressgateway --namespace istio-system --patch '{"spec": { "loadBalancerIP": "" }}'
View 6Kapp
kapp deploy -a cf -f /home/ram/tempdir/cf-for-k8s-rendered.yml -y
View 5YTT
ytt -f ~/cf-for-k8s/config -f ~/cf-k8s-prometheus/config -f ~/cf-k8s-prometheus/experimental/add-grafana.yml -f ~/tempdir/cf-values.yml > ~/tempdir/cf-for-k8s-rendered.yml