# for linux/bash
cp ~/Downloads/kubeconfig.yaml ~/.kube/config
Looks like this:
kyma alpha enable module btp-operator -c fast --kyma-name default --wait
# deploy the application
kubectl apply -f ./activecontrol-cloudconn.yaml
# getthe application url (using the namespace created in the yaml file)
kubectl get virtualservices --namespace activecontrol-cloudconn
# get the application logs as they're created
kubectl logs -l app=activecontrolcc --namespace activecontrol-cloudconn -f
kubectl delete pod connectivity-proxy-0 -n kyma-system
kind: Namespace
apiVersion: v1
metadata:
name: activecontrol-cloudconn
labels:
name: activecontrol-cloudconn
istio-injection: enabled
---
apiVersion: services.cloud.sap.com/v1
kind: ServiceInstance
metadata:
name: connectivity-proxy
namespace: activecontrol-cloudconn
spec:
serviceOfferingName: connectivity
servicePlanName: connectivity_proxy
externalName: connectivity-proxy
---
apiVersion: services.cloud.sap.com/v1
kind: ServiceBinding
metadata:
name: ccbinding
namespace: activecontrol-cloudconn
spec:
serviceInstanceName: connectivity-proxy
externalName: ccbinding
secretName: ccbinding
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: activecontrolcc
namespace: activecontrol-cloudconn
labels:
app: activecontrolcc
spec:
replicas: 1
selector:
matchLabels:
app: activecontrolcc
template:
metadata:
labels:
app: activecontrolcc
spec:
containers:
- name: activecontrolgui
image: dockerregistry.basistechnologies.info/activecontrolgui:AC-992-add-proxy-support
imagePullPolicy: Always
resources:
limits:
cpu: 1000m
memory: 1Gi
ports:
- name: http
containerPort: 9200
env:
- name: SAPSYSTEM_URI_ACD
value: "http://acd:8000"
- name: BTIWP_PROXY
value: '{"host": "connectivity-proxy.kyma-system.svc.cluster.local","port": 20003 }'
---
apiVersion: v1
kind: Service
metadata:
name: activecontrolcc
namespace: activecontrol-cloudconn
labels:
app: activecontrolcc
spec:
ports:
- name: http
port: 9200
selector:
app: activecontrolcc
---
apiVersion: gateway.kyma-project.io/v1beta1
kind: APIRule
metadata:
name: activecontrolcc
namespace: activecontrol-cloudconn
spec:
gateway: kyma-gateway.kyma-system.svc.cluster.local
host: activecontrolcc
service:
name: activecontrolcc
port: 9200
rules:
- path: /.*
accessStrategies:
- config: {}
handler: noop
methods: ["DELETE","HEAD","GET","PATCH","POST","PUT"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
9 | |
9 | |
7 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |