Skip to content

Commit

Permalink
Merge pull request #580 from pubudu538/master
Browse files Browse the repository at this point in the history
Moving to Beta
  • Loading branch information
pubudu538 committed Apr 2, 2021
2 parents db0234e + db9d9a4 commit 97bb42e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 206 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,23 @@ documented, easy to consume, managed APIs is becoming important to develop great
The API operator for Kubernetes makes APIs a first-class citizen in the Kubernetes ecosystem.
Similar to deploying microservices, you can now use this operator to deploy APIs for individual microservices or
compose several microservices into individual APIs. With this users will be able to expose their microservice
as managed API in Kubernetes environment without any additional work.
as managed API in Kubernetes environment without any additional work.

The API operator for Kubernetes provides first-class support for Micro Integrator deployments in the Kubernetes
ecosystem. It uses the Integration custom resource (integration_cr.yaml file) that is available in the Kubernetes
project (exported from WSO2 Integration Studio) and deploys the integration in your Kubernetes environment.

![Alt text](docs/images/K8s-API-Operator.png?raw=true "K8s API Operator")

## Quick Start Guide with Microgateway
## Quick Start Guide with API Microgateway

Follow the [Quick Start with Kubernetes](https://apim.docs.wso2.com/en/next/publish/api-microgateway/quick-start-with-kubernetes/)
Follow the [Quick Start with Kubernetes](https://apim.docs.wso2.com/en/4.0.0/deploy-and-publish/deploy-on-gateway/api-microgateway/getting-started/quick-start-guide/quick-start-guide-kubernetes/)
to work with K8s API Operator.

## Standalone Installation

Use the following command to install API Operator

```sh
>> kubectl apply -f https://github.com/wso2/k8s-api-operator/releases/download/v2.0.0-alpha/api-operator-configs.yaml
>> kubectl apply -f https://github.com/wso2/k8s-api-operator/releases/download/v2.0.0-beta/api-operator-configs.yaml
```
Binary file removed api-microgateway.png
Binary file not shown.
4 changes: 2 additions & 2 deletions api-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@

1. Build the api-operator image (Optional: Use mvn clean install)
```sh
>> operator-sdk build wso2/k8s-api-operator:2.0.0-alpha
>> operator-sdk build wso2/k8s-api-operator:2.0.0-beta
```

1. Replace the image name in deploy/controller-artifacts/operator.yaml#L36

1. Push it to a registry:
```sh
>> docker push wso2/k8s-api-operator:2.0.0-alpha
>> docker push wso2/k8s-api-operator:2.0.0-beta
```

### Add new API and controller
Expand Down
2 changes: 1 addition & 1 deletion api-operator/deploy/controller-artifacts/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: api-operator
# Replace this with the built image name
image: wso2/k8s-api-operator:2.0.0-alpha
image: wso2/k8s-api-operator:2.0.0-beta
volumeMounts:
- mountPath: /home/wso2/security/
name: operator-vol
Expand Down
196 changes: 0 additions & 196 deletions api-operator/pkg/envoy/swagger.go

This file was deleted.

Binary file removed apim-operator.png
Binary file not shown.
4 changes: 2 additions & 2 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<parent>
<groupId>org.wso2.apim</groupId>
<artifactId>k8s-api-operator</artifactId>
<version>2.0.0-alpha</version>
<version>2.0.0-beta</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>org.wso2.apim</groupId>
<artifactId>k8s-api-operator-distribution</artifactId>
<version>2.0.0-alpha</version>
<version>2.0.0-beta</version>
<name>API Operator For K8s Distribution</name>

<build>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.wso2.apim</groupId>
<artifactId>k8s-api-operator</artifactId>
<version>2.0.0-alpha</version>
<version>2.0.0-beta</version>
<name>API Operator For K8s</name>
<packaging>pom</packaging>

Expand Down

0 comments on commit 97bb42e

Please sign in to comment.