Kubernetes
Install and attach K2's Ruby Language Agent with your Ruby application hosted on Kubernetes for Runtime Self Application Protection.
Prerequisites
Steps to protect Ruby application
Option 1: (Recommended)
apiVersion: v1 kind: Pod metadata: name: application-pod spec: containers: - image: k8s.gcr.io/test-webserver name: app-container volumeMounts: - mountPath: /opt/k2-ic name: k2-volume-1-10-16-PRODUCTION volumes: - name: k2-volume-1-10-16-PRODUCTION # Your Volume Config here
gem install /opt/k2-ic/k2-ruby-agent.gemgem 'k2agent'require 'k2agent'APP_PORT=<application-port-number>
Option 2:
Last updated
Was this helpful?