Skip to content

Instantly share code, notes, and snippets.

@tutmosisII
Created August 2, 2020 17:50
Show Gist options
  • Save tutmosisII/c83748128bfac44bcf0daf601faca363 to your computer and use it in GitHub Desktop.
Save tutmosisII/c83748128bfac44bcf0daf601faca363 to your computer and use it in GitHub Desktop.
Instalación básica de Knative
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.16.0/serving-crds.yaml
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.16.0/serving-core.yaml
# Instalación de los operadores de istio con ayuda del controlador
istioctl manifest apply -f istio-minimal-operator.yml
kubectl apply --filename https://github.com/knative/net-istio/releases/download/v0.16.0/release.yaml
kubectl --namespace istio-system get service istio-ingressgateway
# Cuando corres este script se queda esperando no olvide dar ctr-c
kubectl get pods -w --namespace knative-serving
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
values:
global:
proxy:
autoInject: disabled
useMCP: false
# The third-party-jwt is not enabled on all k8s.
# See: https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens
jwtPolicy: first-party-jwt
addonComponents:
pilot:
enabled: true
prometheus:
enabled: false
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
- name: cluster-local-gateway
enabled: true
label:
istio: cluster-local-gateway
app: cluster-local-gateway
k8s:
service:
type: ClusterIP
ports:
- port: 15020
name: status-port
- port: 80
name: http2
- port: 443
name: https
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment