This guide should help you install Pivotal Function Service (PFS), in a PKS installation running on GCP.
Make sure you enable the following configuration in one of your PKS plans:
- Master VM type:
large
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: overlay-ootb-templates-airgapped | |
namespace: tap-install | |
type: Opaque | |
stringData: | |
overlay-supplychain-source-ignore.yml: | | |
#@ load("@ytt:overlay", "overlay") | |
#@ load("@ytt:yaml", "yaml") |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: overlay-contour-fix-ipv6 | |
namespace: tap-install | |
stringData: | |
overlay-contour-fix-ipv6.yml: | | |
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind": "Deployment"}),expects=1 | |
--- |
package sandbox; | |
import java.util.List; | |
import java.util.stream.Collectors; | |
public class Main { | |
public static void main(String[] args) { | |
var strList = List.of("Hello", "world", "my", "name", "is", "Duke"); | |
System.out.println("List: " + strList); |
" | |
" Copyright (c) 2022 Alexandre Roman | |
" https://github.com/alexandreroman | |
" | |
" Permission is hereby granted, free of charge, to any person obtaining | |
" a copy of this software and associated documentation files (the | |
" "Software"), to deal in the Software without restriction, including | |
" without limitation the rights to use, copy, modify, merge, publish, | |
" distribute, sublicense, and/or sell copies of the Software, and to | |
" permit persons to whom the Software is furnished to do so, subject to |
#@ load("@ytt:data", "data") | |
--- | |
#@ def labels(comp): | |
app.kubernetes.io/part-of: #@ data.values.app.name | |
app.kubernetes.io/version: #@ data.values.app.version | |
app.kubernetes.io/instance: #@ "{}-{}".format(data.values.app.name, data.values.env.name) | |
app.kubernetes.io/component: #@ comp | |
#@ end | |
--- | |
#@ def namespace(): |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: spring-on-k8s | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: spring-on-k8s | |
template: |
#!/bin/sh | |
# Use this script to create a TKG vSphere plan leveraging the Antrea CNI. | |
# Then you can create a new cluster with Antrea with this command: | |
# $ tkg create cluster foo -p dev-antrea | |
set -e | |
export TKG_PLAN=dev | |
export CILIUM_VERSION=1.8 |
#!/bin/sh | |
# Use this script to create a TKG vSphere plan leveraging the Antrea CNI. | |
# Then you can create a new cluster with Antrea with this command: | |
# $ tkg create cluster foo -p dev-antrea | |
set -e | |
export TKG_PLAN=dev | |
export ANTREA_VERSION=0.7.0 |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: kuard | |
labels: | |
app: kuard | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: |
This guide should help you install Pivotal Function Service (PFS), in a PKS installation running on GCP.
Make sure you enable the following configuration in one of your PKS plans:
large