Giter Site home page Giter Site logo

danielchudc / ibm-metering-operator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm/ibm-metering-operator

0.0 1.0 0.0 27.92 MB

Operator used to manage the ibm metering service.

License: Apache License 2.0

Makefile 6.89% Dockerfile 0.82% Shell 7.51% Go 84.64% Ruby 0.13%

ibm-metering-operator's Introduction

ibm-metering-operator

Operator used to manage the IBM metering service. The IBM metering service captures detailed usage metrics for your applications and cluster. The metric data is used for IBM Product licensing compliance and can be viewed in the metering UI or downloaded in a report for use in internal charge-back for cluster workloads.

Supported platforms

  • OCP 3.11
  • OCP 4.1
  • OCP 4.2
  • OCP 4.3

Operating Systems

  • Linux amd64
  • RHEL amd64
  • RHEL ppc64le
  • RHEL s390x

Operator versions

  • 3.5.0

Prerequisites

  1. Kubernetes 1.11 must be installed.
  2. OpenShift 3.11+ must be installed.
  3. IBM MongoDB service - See IBM MongoDB operator.
  4. IBM Certificate manager service - See IBM cert-manager operator.
  5. IBM IAM service - See IBM IAM operator.
    Note: This service is a soft dependency. Metering functions without IAM for data collection, but the user interface and report download are not possible.

SecurityContextConstraints Requirements

The metering service supports running under the OpenShift Container Platform default restricted security context constraints.

OCP 4.3 restricted SCC

allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: false
allowedCapabilities: null
apiVersion: security.openshift.io/v1
defaultAddCapabilities: null
fsGroup:
  type: MustRunAs
groups:
- system:authenticated
kind: SecurityContextConstraints
metadata:
  annotations:
    kubernetes.io/description: restricted denies access to all host features and requires
      pods to be run with a UID, and SELinux context that are allocated to the namespace.  This
      is the most restrictive SCC and it is used by default for authenticated users.
  creationTimestamp: "2020-03-27T15:01:00Z"
  generation: 1
  name: restricted
  resourceVersion: "6365"
  selfLink: /apis/security.openshift.io/v1/securitycontextconstraints/restricted
  uid: 6a77775c-a6d8-4341-b04c-bd826a67f67e
priority: null
readOnlyRootFilesystem: false
requiredDropCapabilities:
- KILL
- MKNOD
- SETUID
- SETGID
runAsUser:
  type: MustRunAsRange
seLinuxContext:
  type: MustRunAs
supplementalGroups:
  type: RunAsAny
users: []
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret

Documentation

For installation and configuration, see the IBM Cloud Platform Common Services documentation.

Developer guide

Information about building and testing the operator.

  • Developer quick start

    1. Follow the ODLM guide.
  • Debugging the operator

    1. Check the metering or metering UI custom resources (CR).
    kubectl get metering
    kubectl describe metering <metering CR name>
    
    1. Look at the logs of the metering-operator pod for errors.
    kubectl get po -n <namespace>
    kubectl logs -n <namespace> <metering-operator pod name>
    

ibm-metering-operator's People

Contributors

sgrube avatar rcsherro avatar taosha121 avatar gyliu513 avatar horis233 avatar lesiac avatar stevemar avatar ibm-ci-bot avatar swati-nair avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.