This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ram@cff:~$ pack inspect-image ghcr.io/ramiyengar/paketo-demo --bom|jq '.' | |
{ | |
"remote": [ | |
{ | |
"name": "helper", | |
"version": "2.1.0", | |
"metadata": { | |
"layer": "helper", | |
"names": [ | |
"ca-certificates-helper" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pack inspect-image ghcr.io/ramiyengar/paketo-demo | |
Inspecting image: ghcr.io/ramiyengar/paketo-demo | |
REMOTE: | |
Stack: io.buildpacks.stacks.bionic | |
Base Image: | |
Reference: index.docker.io/paketobuildpacks/run@sha256:9067d823022ac6eeeada3d91d42cad45496fa440aef02096a4c332429e8b48dc | |
Top Layer: sha256:80d57cc9e517f84d9a52a55379b8efe02b1d6cc0661be53d76a8799613b83851 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# | |
# http:#www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Clone the cf-for-k8s repo. And cd into it. | |
git clone https://github.com/cloudfoundry/cf-for-k8s.git | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl port-forward grafana-dc6787967-qkvnf -n cf-system 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl port-forward prometheus-server-675669fb96-b449n -n cf-system 9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cf api --skip-ssl-validation api.35.192.46.62.xip.io | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl patch svc istio-ingressgateway --namespace istio-system --patch '{"spec": { "loadBalancerIP": "35.192.46.62" }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kapp deploy -a cf -f /home/ram/tempdir/cf-for-k8s-rendered.yml -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder