设为首页 加入收藏
  • 首页
  • 棋牌天地
  • 家长学校
  • 剧集追蹤
  • 校园风采
  • 消费指南
  • 地方观察
  • 当前位置:首页 > 晨间快报 > 云原生初体验:在K8s上部署Springboot应用

    云原生初体验:在K8s上部署Springboot应用

    发布时间:2026-07-10 来源: 作者:社区之声

     

    我们可以使用官方 sentry-cli 工具操作 Sentry API,从而来为你的项目管理一些数据。它主要用于管理 iOS、Android 的调试信息文件,以及其他平台的版本(release)和源代码映射(source maps)管理。

    安装 Docker 镜像

    默认情况下,该命令在 /work 目录中运行。挂载相关的你的项目文件夹并在那里构建输出以允许 sentry-cli 扫描资源:

    # 拉取镜像 docker pull getsentry/sentry-cli # 执行命令 docker run --rm -v $(pwd):/work getsentry/sentry-cli --help # sentry-cli 1.68.0  # Command line utility for Sentry.  # This tool helps you manage remote resources on a Sentry server like # sourcemaps, debug symbols or releases.  Use `--help` on the subcommands # to learn more about them.  # USAGE: #     sentry-cli   # OPTIONS: #         --api-key <API_KEY> #             The given Sentry API key.  #         --auth-token <AUTH_TOKEN> #             Use the given Sentry auth token.  #     -h, --help #             Print this help message.  #         --log-level <LOG_LEVEL> #             Set the log output verbosity. [possible values: trace, debug, info, warn, error]  #         --url  #             Fully qualified URL to the Sentry server. #             [defaults to https://sentry.io/] #     -V, --version #             Print version information.   # SUBCOMMANDS: #     bash-hook          Prints out a bash script that does error handling. #     difutil            Locate or analyze debug information files. #     help               Prints this message or the help of the given subcommand(s) #     info               Print information about the Sentry server. #     issues             Manage issues in Sentry. #     login              Authenticate with the Sentry server. #     projects           Manage projects on Sentry. #     react-native       Upload build artifacts for react-native projects. #     releases           Manage releases on Sentry. #     repos              Manage repositories on Sentry. #     send-event         Send a manual event to Sentry. #     upload-dif         Upload debugging information files. #     upload-proguard    Upload ProGuard mapping files to a project.  配置和认证 配置文件

    sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。

    .sentryclirc

    [auth] token=your-auth-token  [defaults] org=sentry project=react-sentry-demo url=https://x.xxx.com 

    进入容器内

    创建一个新版本:

    docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh  sentry-cli releases new 1.0.0  Refs

    https://docs.sentry.io/product/cli/

     

    • 上一篇:谷歌新 AI “Nano Banana” 一周吸引千万用户,图像编辑轻松搞定!
    • 下一篇:Kubernetes 将弃用 Docker

      相关文章

      • 云基础软件:虚拟化与容器“谁主沉浮”?
      • 标签: Traini PEBI 宠物智能项圈 生成式AI
      • 标签: 网宿科技 AI智能加速 边缘AI 网宿安全
      • 云安全日报220506:思科企业NFV基础架构软件发现访客逃逸漏洞,需要尽快升级
      • 第二届中国IDC行业Discovery大会召开 热议元宇宙、东数西算等话题
      • 万代南梦宫等日本大厂联合发声,要求 OpenAI 停止使用其作品训练 AI
      • 苹果推送正式版iOS/iPadOS15.3.1 修复Safari网页漏洞
      • 云安全日报210708:思科网络安全解决方案发现特权提升漏洞,需要尽快升级
      • 中教云教师备课云平台获北京市新技术新产品(服务)认定
      • 苹果史上最大胆合作!Claude Sonnet 4强势入驻Xcode,3400万开发者集体沸腾

        随便看看

      • 腾讯推出 AI CLI 工具 CodeBuddy, 国内首家支持全形态AI编程工具!
      • 2021年值得关注的5个RPA趋势
      • 谷歌在美国投资 90 亿美元,推动人工智能未来
      • 标签: 具身智能
      • 标签: 租车
      • 京东云言犀将推出ChatJD 对标“产业版ChatGPT”
      • 标签: 瑞凝生物 医用水凝胶 肿瘤治疗 创新医疗器械
      • 智能自动化在能源和公用事业行业的作用
      • DeepSeek神秘新模型登陆LmArena,"快乐机器人"命名引爆AI圈热议
      • 标签: 字节跳动 豆包 AI耳机 歌尔股份
      • Copyright © 2026 Powered by 云原生初体验:在K8s上部署Springboot应用,   sitemap