Git Product home page Git Product logo

frp-operator's Introduction

frp-operator

Expose your service in Kubernetes to the Internet with open source FRP!

Version: 1.2.0 Type: application AppVersion: 0.3.1 made with Go Github main branch build GitHub issues GitHub pull requestsArtifact Hub

Document

  1. RFC: Fast Reverse Proxy Operator

Installing

To install the chart with the release name my-release:

helm repo add frp-operator https://zufardhiyaulhaq.com/frp-operator/charts/releases/
helm install my-frp-operator frp-operator/frp-operator --values values.yaml

Prerequisite

To expose your private Kubernetes service into public network. You need public machine running FRP Server that act as a proxy. Currently the operator doesn't have capability to spine a new machine on cloud providers, but this can be setup in a minute.

  1. Create machine on cloud provider
  2. Download frps binary
  3. Create server configuration
vi frps.ini

[common]
bind_address = 0.0.0.0
bind_port = 7000
token = yourtoken
  1. Run FRP server
frps -c ./frps.ini

You can reuse our build-in ansible playbook to setup the FRP server on your machine, please check https://github.com/zufardhiyaulhaq/frp-operator/tree/main/ansible/server

Usage

  1. Apply some example
kubectl apply -f examples/deployment/
kubectl apply -f examples/client/
  1. Check frpc object
kubectl get client
NAME        AGE
client-01   17m

kubectl get upstream
NAME    AGE
nginx   17m
  1. access the URL
http://178.128.100.87:8080/

Values

Key Type Default Description
operator.image string "zufardhiyaulhaq/frp-operator"
operator.replica int 1
operator.tag string "v0.3.1"
resources.limits.cpu string "200m"
resources.limits.memory string "100Mi"
resources.requests.cpu string "100m"
resources.requests.memory string "20Mi"

see example files here

frp-operator's People

Contributors

jinxcappa avatar walejandromt avatar zufardhiyaulhaq avatar

Stargazers

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

Watchers

 avatar  avatar

frp-operator's Issues

[BUG] url repository not work

Describe the bug
The Url for repository helm no work:
helm repo add frp-operator https://zufardhiyaulhaq.com/frp-operator/charts/releases/

To Reproduce
Steps to reproduce the behavior

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots or Logs
If applicable, add screenshots and logs to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. mac, linux]
  • OS version: [uname -a]
  • frp-operator image version [/charts/values.yaml operator.tag]

Additional context
The Url for repository helm no work:
helm repo add frp-operator https://zufardhiyaulhaq.com/frp-operator/charts/releases/

[BUG] Generated config.toml is incorrect

Describe the bug
The generated config.toml file is not correct and the frpc container doesn't load the configuration

To Reproduce
Apply any config

Expected behavior
The client to start and load the correct parameters

Screenshots or Logs
Will do if requested

Environment (please complete the following information):

  • OS: linux
  • OS version: kubernetes 1.29
  • frp-operator image version: 0.3.0

Additional context
The template for the config file is incorrect. I have a commit on a fork that fixed it for me. aff69e5

Examples dont work anymore

image

I get these errors

The Upstream "nginx" is invalid: 
* spec.tcp.healthCheck: Required value
* spec.udp: Required value

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.