Giter VIP home page Giter VIP logo

oracledb-on-k8s's Introduction

oracledb-on-k8s

This helm chart helps you deploy an Oracle Database 12c Enterprise Edition, Single instance on Oracle Container Engine

The Oracle Database container is configured to use a Persistent Volume created via a Persistent Volume Claim using oci provider, this will allocate a block volume in Oracle Cloud Infrastructure tenancy.

Pre-Requisites

Before running the chart, create a namespace and a registry secret to hold the docker credentials needed to download the Oracle Database Docker image from Docker Store. Please note that you need to accept the License Agreement with your accounte on Docker Store before being able to download the image.

Create a namespace (if you don't want to use the default one)

kubectl create namespace [dbnamespace]

Create a docker secret in the above namespace

kubectl create secret docker-registry regsecret --docker-username=[user] --docker-password=[password] --docker-email=[email] [--namespace dbnamespace]

To install this helm chart, clone or download the repository

git clone https://github.com/paolobellardone/oracledb-on-k8s.git

then customize the values.yaml to setup the required variables and run the following command

helm install [release name] oracledb ./oracledb [--namespace dbnamespace]

The command will print out all the information needed to access your new Oracle Database instance on K8S. The Oracle Database instance will be available after a little while because at first run the database needs to be created and instantiated.

Values.yaml editable defaults, please change according to your needs
Block Variable Default value Notes
registrySecret regsecret See above on how to create it
pvc
ociAD Select an Availability Domain in your tenancy
storageSize 50Gi This is the minimum size on OCI
service
type LoadBalancer This can be ClusterIP, NodePort or LoadBalancer
port 1521
image
repository store/oracle/database-enterprise
tag 12.2.0.1 12.2.0.1 or 12.2.0.1-slim
pullPolicy IfNotPresent This can be IfNotPresent or Always
containerMemory 3Gi Requested memory for Oracle Database Container
hostPort 1521 SQLNet Port on node
containerPort 1521 SQLNet Port on container
dbSid ORCL Oracle SID for Container database
dbPdb PDB1 Oracle PDB for Pluggable database
dbPassword Default password for SYS, if not specified will be autogenerated and print in the setup log
dbDomain local
dbMemory 2Gi Memory allocated for Oracle Database

oracledb-on-k8s's People

Contributors

codytrey avatar paolobellardone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oracledb-on-k8s's Issues

Don't set deploy namespace via values.yaml

It looks like you're trying to set the deployment namespace via a --set option when running helm install and have the namespace set in the template yaml files.

This isn't needed as helm install has a --namespace option that will set the deployment namespace if you just leave it out of the template yaml files.

Missing License

We'd love to use this chart, but we are unable to due to the lack of a license.

I'd be happy to open a PR to add an MIT license or equivalent.

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.